How to use variables from Workspace in Simulink Function block ?

3 views (last 30 days)
In older versions there was an Fcn block where everything worked.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 26 Jan 2021
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 Functions in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!