필터 지우기
필터 지우기

saving a dynamic file

조회 수: 2 (최근 30일)
ulas im
ulas im 2012년 10월 9일
Dear users
I am trying to save a matrix that has a chancing name at each loop. i normally use following command: save(filename,'matrixname'); However, this time "matrixname" is dynamic and changes at every loop step. How can i use the save function in this context?
thank you

답변 (2개)

Walter Roberson
Walter Roberson 2012년 10월 9일
var = 'matrixname';
save(filename, var);

Julien
Julien 2012년 10월 9일
Hi, how is defined your matrixname ? Do you want to store all matrix inside one .mat file ?

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by