FMU Import Script for Simulink
显示 更早的评论
I am importing an FMU into the Simulink environment using a script. The issue is that the rest of my script that sets up the environment for the user continues to run before an FMU can be uploaded. With the code below, the FMU import dialog will open, but the code does not stop. I want to avoid using an arbitrary dialog box to use with the waitfor function. Instead, is there a way to use the FMU parameters dialog box as the waitfor condition?
fmuBlock = add_block('simulink_extras/FMU Import/FMU','untitled/FMU');
load_system (fmuBlock);
open_system(fmuBlock);
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 FMU Importing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!