Matlab linking two m files
11 次查看(过去 30 天)
显示 更早的评论
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
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
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!