The fourth step to replace the functional blocks with a HIL block. After we compile using signal compiler we need to create another simulink model same as the previous but just the functional blocks replaced with HIL block. In the tutorial a simulink model freqsweep_HIL.mdl was provided. My question is how were the functional blocks replaced by a HIL block. To be more specific when you take the HIL block from the simulink library it doesn't have any input and output ports. How does the HIL block get its input and output ports.