フィルターのクリア

Can any body help me to creat .mat file in current folder ?

1 回表示 (過去 30 日間)
Onur PEKER
Onur PEKER 2014 年 3 月 9 日
コメント済み: Onur PEKER 2014 年 3 月 12 日
When I call one function which is obtained by me, I want to create it in current folder. I am using 'save ' function but it has problem that, it is memorised not only my neural network function but also all of function variable . Is there any choose out of 'save' function to create .mat file ?
  2 件のコメント
Jan
Jan 2014 年 3 月 9 日
I do not understand the question. Please post the code line, which contains the save command, explain, what you find in the MAT file and what you want to store there instead.
Patrik Ek
Patrik Ek 2014 年 3 月 10 日
編集済み: Patrik Ek 2014 年 3 月 10 日

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

採用された回答

Nitin
Nitin 2014 年 3 月 10 日
I suppose you only want to save a specific variable instead of everything:
If you would like to save only variable, a:
a = rand(1,10)
save('a_save.mat','a')
If you would like to save all variables:
filename = 'save_all.mat';
save(filename)
  1 件のコメント
Onur PEKER
Onur PEKER 2014 年 3 月 12 日
thank you so much . save('a_save.mat','a') this function is working.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by