- To convert the desired part of the model into a Subsystem, select the part and select “Atomic Subsystem” from the “Multiple” menu tab.
How to compile partial models in Simulink Real-Time (XPC Target)
3 次查看(过去 30 天)
显示 更早的评论
Is it possible to compile partial models in Simulink Real-Time to speed up the build process?
For instance, I am only replacing one block and I don't want the full Simulink model to compile from scratch.
If yes, where to I set this option?
Thank you
0 个评论
回答(1 个)
HimeshNayak
2023-2-28
编辑:HimeshNayak
2023-2-28
Hi Stefano,
I understand you want to run a sub model (or a partial model) in Simulink and not the complete model. This can be achieved by using an Atomic Subsystem which is further converted into a Model.
Follow the following steps to convert a part of the model to a new model.
2. Select the “Subsystem Block” and convert it to a model by clicking on the option “Model Block”, in “Covert” option of the “Subsystem” menu tab
3.“Model Reference Conversion Advisor” dialog box will pop up. Make any desired changes and then click on convert.
Now, you will have a separate model which you can run, without affecting the rest of the model.
For further information about converting Subsystem to a Model visit the following link: https://in.mathworks.com/help/simulink/ug/convert-a-subsystem-to-a-referenced-model-1.html
Regards,
Himesh
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!