Run a script and use some variables as inputs in another script
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Nikolas Spiliopoulos
am 5 Dez. 2017
Beantwortet: Walter Roberson
am 5 Dez. 2017
Hi all,
I have a script file and I would like to run it and export two variables (lets say "45"and "1")
In order to use them as inputs for another script file.
Is it possible to do it?
Thanks
Nikolas
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 5 Dez. 2017
Script files do not have inputs: functions have inputs.
Script files use whatever variables are hanging around in the workspace, so just have the second script use the variable names that you assigned to in the first script.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!