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

조회 수: 223 (최근 30일)
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 CenterFile Exchange에서 Simscape Driveline에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by