Another extension than .mat to save output data

1 回表示 (過去 30 日間)
Nik Rocky
Nik Rocky 2020 年 6 月 24 日
コメント済み: Nik Rocky 2020 年 6 月 25 日
Hello,
with one MATLAB script I'm reading data from input.mat-files, make analysis and some modifications and save it to the same folder also like result.mat-file. If I want to repeat analysis I get a conflict, because MATLAB try to read also a result.mat file. How can I avoid this, without changing directory? Another extension?
Thank you!

採用された回答

Steven Lord
Steven Lord 2020 年 6 月 24 日
Probably I would either store the processed data to a separate folder from the raw input data or collect the list of raw input data files before doing any processing and iterate through that stored list rather than asking "What's the next file to be processed?" anew each time.
  1 件のコメント
Nik Rocky
Nik Rocky 2020 年 6 月 25 日
Okay, thank you, i do it so!

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

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by