How to use variables from Workspace in Simulink Function block ?
3 次查看(过去 30 天)
显示 更早的评论
In older versions there was an Fcn block where everything worked.
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!