如何通过 MATLAB 函数启动 Simulink 模型?能否在该函数中定义模型参数?
Show older comments
我想在 MATLAB 中用 sim 函数启动 Simulink 模型。我的模型具有 mask 封装参数,它们在我的函数 fcn_name.m 中定义的。
我知道 Simulink 可以使用基本工作区中的变量,那么是否有方法直接利用我自定义的函数的工作空间,而无需在基本工作区中创建变量?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 环境自定义 in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!