How to use variables from Workspace in Simulink Function block ?

3 次查看(过去 30 天)
In older versions there was an Fcn block where everything worked.

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2021-1-26
The "Simulink Function Block" defines a "function" that could be scoped and called multiple instances, so I think you have to use a Constant block outside and then feed it as an Input argument.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by