필터 지우기
필터 지우기

I have two m files i need to call one m file in the program ?

조회 수: 1 (최근 30일)
Ravi Kumar Poluru
Ravi Kumar Poluru 2018년 7월 12일
편집: Adam Danz 2018년 7월 12일
I have two m files i need to call that program in to another m file
  댓글 수: 1
Jan
Jan 2018년 7월 12일
Yes. So what is your problem? Simply call the other M file as you would call any other Matlab function also.

댓글을 달려면 로그인하십시오.

채택된 답변

Adam Danz
Adam Danz 2018년 7월 12일
편집: Adam Danz 2018년 7월 12일
If your m file is named 'myFunction.m', all you need to do to call it from another m file is to type its name. For example:
myFunction
% or
myFunction;
% or
myFunction(); %this indicates it's a function but brackets aren't required
If that didn't answer your question, please try again with more details.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by