How to make autorun and auto exit
조회 수: 4 (최근 30일)
이전 댓글 표시
Dear all,
I have 2 file.m ..Let say A.m and B.m..first i need to run the A.m file and at the middle running, i need load and run the B.m file.After B.m file finish, i want to autoexit the B.m file and continue with processing in A.m file untill end.. .so, how i can do like that? What the command??
댓글 수: 0
답변 (2개)
Andreas Goser
2011년 12월 20일
Just call the B file at the line of file A where you need it. If the file name is my_script.m, the command is
my_script
댓글 수: 1
Robert Cumming
2011년 12월 20일
i would advise you use functions - it will help in the long run and make bug fixing easier.
참고 항목
카테고리
Help Center 및 File Exchange에서 String Parsing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!