Change variable value in the workspace using switch
Ältere Kommentare anzeigen
How to change a variable value in the workspace using simulink's Toggle/Rotary Switch block?
Antworten (2)
Sulaymon Eshkabilov
am 27 Apr. 2025
Verschoben: Image Analyst
am 27 Apr. 2025
0 Stimmen
Why not to assign a variable name to a constant block, then initialize the value of the constant block from the command window or MATLAB script.
Walter Roberson
am 27 Apr. 2025
0 Stimmen
Send the output of the Switch block into a To Workspace block.
1 Kommentar
Ari
am 28 Apr. 2025
Kategorien
Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



