M file search another
Show older comments
Hello, sorry my bad english but i will try to be clear. I have a 2 m files (m file "a" and m file "b"). The m file "a" have several calculations and their results. In my m file "b", i need to use these calculations of m file "a." My question is, how i can get them???
Thank you
Sergio
Answers (3)
Sean de Wolski
on 14 May 2013
1 vote
Sounds like you need turn your scripts into functions. Here is some documentation on writing functions.
Azzi Abdelmalek
on 14 May 2013
0 votes
you have nothing to do, run the first file, then the second
1 Comment
Azzi Abdelmalek
on 14 May 2013
If you want to save those data result in a file. Suppose your variables are a b c
save filname a b c
To use those variables
load filname
Sergio .
on 15 May 2013
0 votes
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!