Matlab linking two m files

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 Kommentar

Oleg Komarov
Oleg Komarov am 19 Mär. 2012
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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Joseph Areeda
Joseph Areeda am 18 Mär. 2012

1 Stimme

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 Kommentar

sniper
sniper am 18 Mär. 2012
Thanks Joe but would you please provide more details?

Melden Sie sich an, um zu kommentieren.

Produkte

Gefragt:

am 18 Mär. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by