如何通过 MATLAB 函数启动 Simulink 模型?能否在该函数中定义模型参数?
Afficher commentaires plus anciens
我想在 MATLAB 中用 sim 函数启动 Simulink 模型。我的模型具有 mask 封装参数,它们在我的函数 fcn_name.m 中定义的。
我知道 Simulink 可以使用基本工作区中的变量,那么是否有方法直接利用我自定义的函数的工作空间,而无需在基本工作区中创建变量?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Simulink 环境自定义 dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!