How to set global variables for simulink with matlab functions
6 views (last 30 days)
I'd like to use global variable in matlab function block. But I cannot find "symbols pane" to set global variable as Simulink.Signal object in contents below link site. Could you tell me where it is?
- Make sure the Simulink.Signal object is registered to the MATLAB Function block.
- In the Modeling tab, in the Design section, click Symbols Pane.
- In the Symbols pane, select the data A. This data uses the same name as the global variable. Right click and select Inspect... to open the Property Inspector.
- In the Property Inspector, set the Scope of the data to Data Store Memory.