How to use variables from Workspace in Simulink Function block ?
Show older comments
In older versions there was an Fcn block where everything worked.
Answers (1)
Fangjun Jiang
on 26 Jan 2021
0 votes
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.
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!