Matlab linking two m files

조회 수: 3 (최근 30일)
sniper
sniper 2012년 3월 18일
I developed two m- files codes. I need to use the output from one code as an input in the other. Can anyone help?
  댓글 수: 1
Oleg Komarov
Oleg Komarov 2012년 3월 19일
Thank Sniper but would YOU please provide more details?
http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer

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

답변 (1개)

Joseph Areeda
Joseph Areeda 2012년 3월 18일
Well the obvious solution is to make your 'main' and one a function.
You run the main one from the console and all call the other output=f(x)
Joe
  댓글 수: 1
sniper
sniper 2012년 3월 18일
Thanks Joe but would you please provide more details?

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

카테고리

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