how to create a input file?

7 ビュー (過去 30 日間)
Jing Lin Ng
Jing Lin Ng 2014 年 4 月 21 日
コメント済み: Jing Lin Ng 2014 年 4 月 23 日
I have two function file (A & B). I would like to put all the variables that I found in function A file into an input file. That means all the variables from A function file is saved in that input file. So that B function can recall the variables from the input file. Does anyone know how to create the input file?? Million thanks.

採用された回答

Walter Roberson
Walter Roberson 2014 年 4 月 21 日
You can use save() to create a .mat file that you later load() from.
  9 件のコメント
Walter Roberson
Walter Roberson 2014 年 4 月 22 日
Those techniques can be used even when you are not using callback functions.
Jing Lin Ng
Jing Lin Ng 2014 年 4 月 23 日
alright thanks for you answer!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by