I wrote a function that provides some variables to Simulink. I have declared them global, so Simulink could see them. But I have to declare them at the prompt and I am unable to declare them in the function because Simulink does not see them.
MATLAB: How to declare a variable in the MATLAB workspace from a MATLAB function
assigninbasedeclareevalinMATLABvariableworkspace
Related Question
- How to move a variable from the global workspace to a local workspace
- How to access a base workspace variable from within a function
- Bring To Workspace variables from Simulink to base workspace from a matlab function
- Clean variables of worskpace from GUIDE
- How to use global variables and MATLAB workspaces
- How to create a global variable so that all the masked subsystems can see it
- Initialize Variables in a Function
Best Answer