如何通过 MATLAB 函数启动 Simulink 模型?能否在该函数中定义模型参数?
Ältere Kommentare anzeigen
我想在 MATLAB 中用 sim 函数启动 Simulink 模型。我的模型具有 mask 封装参数,它们在我的函数 fcn_name.m 中定义的。
我知道 Simulink 可以使用基本工作区中的变量,那么是否有方法直接利用我自定义的函数的工作空间,而无需在基本工作区中创建变量?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Simulink 环境自定义 finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!