Error loading .mat

2 ビュー (過去 30 日間)
EngTat Chung
EngTat Chung 2020 年 2 月 9 日
回答済み: Jesús Zambrano 2020 年 3 月 27 日
When I tried to load a .mat file, there was an error: cannot read file. The data is from exported from simulink using "to Workspace" block.
I have tried adding the folder into the path, but the error is still there.
>> load('Data.mat')
Error using load
Cannot read file C:\Users\Desktop\Work\Varying\Type1\Data.mat.
  4 件のコメント
EngTat Chung
EngTat Chung 2020 年 2 月 9 日
I have stopped the Simulink model. The file was saved yesterday and I am trying to open it today. However was met with that error.
EngTat Chung
EngTat Chung 2020 年 2 月 9 日
I tried using the code but it does not work too.
I ran the model to get the data again and saved the workspace. When I restarted my computer this time there was no error however there was no data loaded too.

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

回答 (1 件)

Jesús Zambrano
Jesús Zambrano 2020 年 3 月 27 日
Could you replicate this behavior? I would also like to know the size of this mat-file.

カテゴリ

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

タグ

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by