matlab - 是否可以在不运行 Matlab 脚本的情况下在 Simulink 中设置参数?

标签 matlab drop-down-menu parameter-passing simulink

当 Simulink 模型包含参数时,可以使用脚本设置其值。

For instance, a constant block could have the value a, and the script would then contain the expression a=2 to set its value.

是否可以在 Simulink 模型内设置参数,而无需运行 Matlab 脚本?

For instance, the Simulink model could containa drop-down menu that alows you to set the value of the parameter.

最佳答案

可能的解决方案包括

  • 制作您自己的 GUI(请参阅指南)
  • 使用 masked subsystems
  • 使用 Simulink Dashboard 模块

关于matlab - 是否可以在不运行 Matlab 脚本的情况下在 Simulink 中设置参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34037958/

相关文章:

javascript - 选择 Dropdown coming over bootstrap nav dropdown for hover

javascript - html 下拉列表将我带到错误的网址

c++ - 有什么工具可以通过引用或值来确定最有效的数据传递方式?

c - 在 C 中优化具有许多输入参数的函数

matlab - 我如何矢量化这个for循环(matlab)

Matlab:获取图中点击的坐标但保留按钮回调

javascript - JQuery .click,也不是 .on ("click",...) 使用函数创建的 ASP .NET 和 twitter-boostrap 元素

arrays - 如何在 matlab 中使用预分配数组中的零?

matlab - 在 Matlab 中执行此矩阵运算是否更有效

go - 如何在 Go 中使用中缀(比较)运算符作为参数