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
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
Azzi Abdelmalek 2013 年 5 月 14 日

0 投票

you have nothing to do, run the first file, then the second

1 件のコメント

Azzi Abdelmalek
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

サインインしてコメントする。

Sergio .
Sergio . 2013 年 5 月 15 日

0 投票

But, I thought we would have to use the command "get". Just do not know how ... Thank you

カテゴリ

タグ

質問済み:

2013 年 5 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by