Replace an FMU model from an FMU Import block

조회 수: 1 (최근 30일)
Omar Kamel
Omar Kamel 2023년 11월 6일
편집: surya venu 2024년 5월 13일
Hello,
I have a model which contains an "FMU Import" block in which an FMU model is loaded. I have several variants of my FMU model and I would like to replace the loaded FMU model in the "FMU Import" block with another variants programmatically i.e. using a Matlab script. How shall I do that?
Thanks!

답변 (1개)

surya venu
surya venu 2024년 5월 13일
편집: surya venu 2024년 5월 13일
Hi,
In Simulink, the "set_param" command allows for the manipulation of parameters for the majority of blocks.
However, as of MATLAB R2024a, the "FMU Import" block represents an exception to this capability. The design of the "FMU Import" block does not currently support parameter customization via the "set_param" command. This limitation means that users cannot programmatically change the inputs or parameters of an FMU model once it's imported into Simulink using this block.
Thanks.

태그

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by