Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between regular simulation models and dedicated HIL models?

0
Posted

What is the difference between regular simulation models and dedicated HIL models?

0

Regular simulation models are meant for simulation only while HIL models can be used for simulation and for HIL purposes. The code associated with simulation models has been generated from the source model block library (which is not available to customers) using the generic real-time coder while HIL model code has been generated with the embedded real-time coder (refer to the Matlab Real-Time Workshop for more info regarding the code generation tools). The embedded real-time coder generates very efficient code that can be deployed outside Mathworks (Matlab/Simulink) environment. However, the code is generated so that only one instance of a specific model block can be included in a model. For example, you can not generate a model block for a cylinder and then add four instances of this block to an engine model in order to generate a 4-cylinder model. Code generated with the generic real-time coder supports multiple instantiations of the same block within a model. As a consequence, Engi

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123