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

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

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.

댓글을 달려면 로그인하십시오.

 채택된 답변

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

thank you so much . save('a_save.mat','a') this function is working.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2014년 3월 9일

댓글:

2014년 3월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by