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!