How can I code for something which is running?
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Julia
2014 年 12 月 15 日
0 投票
Hi,
How about this:
You can use strcmp() to check if the last file run was your file.m
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!