run m-file from push button in Matlab GUI
Ältere Kommentare anzeigen
Hello
I need to run an untitled.m (mfile) by hitting an push button in GUI. This m-file is a script. It contains only some variables. These variables are just numbers, not an array or structure..etc.These numbers are needed for running simulink model.
So this is my problem. GUI,2 buttons, one runs mfile,second runs simulink model using data from mfile. I tried several things which i found using google,i solved nothing
Any ideas? Thanks a lot for your time and help
1 Kommentar
Rick Rosson
am 10 Apr. 2012
Is the untitled.m file saved to disk, or is it only in memory?
Akzeptierte Antwort
Weitere Antworten (1)
jueves jevesion
am 10 Apr. 2012
0 Stimmen
1 Kommentar
Sean de Wolski
am 10 Apr. 2012
See the edits to my answer.
Kategorien
Mehr zu Simulink Environment Customization 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!