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

236 vues (au cours des 30 derniers jours)
tupac1971ful
tupac1971ful le 21 Mar 2018
Commenté : Joohyun Lee le 14 Juil 2023
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 commentaires
demos serghiou
demos serghiou le 20 Août 2022
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 le 14 Juil 2023
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.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Simscape Driveline dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by