ERROR :Unable to read MAT-file. Not a binary MAT-file. Try load -ASCII to read as text.

229 ビュー (過去 30 日間)
tupac1971ful
tupac1971ful 2018 年 3 月 21 日
コメント済み: Joohyun Lee 2023 年 7 月 14 日
when i try to run the simulation i get the following error : Error using load Unable to read MAT-file C:\Users\....\UrbanCycle1.mat. Not a binary MAT-file. Try load -ASCII to read as text.
The matfile "UrbanCycle1.mat" is one of the data scripts to run the simulation properly. Could you help me with this?
  10 件のコメント
demos serghiou
demos serghiou 2022 年 8 月 20 日
Hi Any solution to this problem? None of the above work. I am trying to open a .mat figure that used to open perfectly fine before reactivating matlab licence file
Joohyun Lee
Joohyun Lee 2023 年 7 月 14 日
Sometimes, if you are using a NAS or cloud server to load your file, it may prompt out that error when the computer is not connected to it (e.g., re-verify credentials, log-in, etc.) I signed out of my cloud and logged back in, and it worked.

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

回答 (1 件)

Faisal Khan
Faisal Khan 2018 年 11 月 22 日
use addpath('your folder name') which contains the .mat files and then use load() function to call the mat file

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by