how to access workspace variablle in loop?
Ältere Kommentare anzeigen
i have workspace variable and want to use it in for loop
Antworten (2)
ES
am 22 Jan. 2014
0 Stimmen
If it is an m script, you can use the workspace variable directly by calling its name.
if it is an m function, then prior to calling the function, save the variables in a matfile and load it in your function.
By the way, who generates the variables in the workspace?
Kategorien
Mehr zu Loops and Conditional Statements 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!