How can I code for something which is running?
Mostra commenti meno recenti
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
Risposta accettata
Più risposte (1)
Julia
il 15 Dic 2014
0 voti
Hi,
How about this:
You can use strcmp() to check if the last file run was your file.m
Categorie
Scopri di più su Loops and Conditional Statements in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!