M file search another
이전 댓글 표시
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
답변 (3개)
Sean de Wolski
2013년 5월 14일
1 개 추천
Sounds like you need turn your scripts into functions. Here is some documentation on writing functions.
Azzi Abdelmalek
2013년 5월 14일
0 개 추천
you have nothing to do, run the first file, then the second
댓글 수: 1
Azzi Abdelmalek
2013년 5월 14일
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
카테고리
도움말 센터 및 File Exchange에서 R Language에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!