How to call m_file from another m_file????????
조회 수: 12 (최근 30일)
이전 댓글 표시
hi i need to know how to call m_file from another m_file thank you
댓글 수: 0
답변 (1개)
Walter Roberson
2012년 4월 28일
Just put the name of the second m-file as a command in the first one (without the .m extension)
For example, in file1.m you could call file2.m by coding
file2
If file2.m contains a function, put the arguments on the lines:
file2(pi, 3:8, 'BoogieWoogie.wmv')
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Adding custom doc에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!