Modify a running script, will it affect the running process?
21 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello everyone,
I was running a script. Then I accidentally modified the .m file in another Matlab window. Will my running process be affected? Thank you.
0 Kommentare
Akzeptierte Antwort
Adam
am 3 Dez. 2014
Your running script should be unaffected by a change I think. I just did a very simple test though so I can't guarantee for any script, it may depend what you edited.
I created a script that prints a number to the screen, pauses then prints the number again.
I ran it, edited the script during the pause to assign a different value to the variable (after the pause instruction), but it still printed out the previous value again the second time rather than the one I edited in during its pause.
0 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Debugging and Analysis 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!