How can I code for something which is running?
Ältere Kommentare anzeigen
I want to programme in such a way that if some script file is run then that function should be called. LIke I coded if run(file.m)=1 do something end But this does not work
Akzeptierte Antwort
Weitere Antworten (1)
Julia
am 15 Dez. 2014
0 Stimmen
Hi,
How about this:
You can use strcmp() to check if the last file run was your file.m
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!