How to call .m file?
조회 수: 33 (최근 30일)
이전 댓글 표시
I have a main.m script, I want to perform some operation again and again, so I created another .m file named op.m, I need to call op.m inside main.m whenever required....how to call it inside main.m......PS: also in op.m file, should I write return at the end or it returns automatically to the main script after doing the operation?
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2015년 7월 22일
편집: Azzi Abdelmalek
2015년 7월 22일
just type the name of your script
your_cript
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 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!