How to resolve this error ?From GUI executing simulink model
Show older comments
I am executing a simulink model from gui, and in in the simulink model i have four blocks which send data to workspace,,,am getting thisa error,,how to overcome this?
Error using FinalTest/pushbutton2_Callback (line 41) Cannot create variable 'speed' in workspace
Caused by: Error using FinalTest/pushbutton2_Callback (line 41) Attempt to add "speed" to a static workspace. See MATLAB Programming, Restrictions on Assigning to Variables for details.
Error while evaluating uicontrol Callback
Accepted Answer
More Answers (1)
Categories
Find more on General Applications in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!