ERROR :Unable to read MAT-file. Not a binary MAT-file. Try load -ASCII to read as text.
Ältere Kommentare anzeigen
Hello, i've downloaded the following https://www.mathworks.com/matlabcentral/fileexchange/32246-dual-clutch-transmission-model-in-simulink for my project.
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 Kommentare
Nicolas Schmit
am 27 Mär. 2018
Did you run startup_DCT_Model.m before opening the Simulink model?
tupac1971ful
am 27 Mär. 2018
Nicolas Schmit
am 28 Mär. 2018
- Please tell which version of MATLAB you are using.
- Try to re-download the file exchange package files and see if the problem still occurs.
tupac1971ful
am 28 Mär. 2018
Nicolas Schmit
am 29 Mär. 2018
Try to manually load the mat files by double clicking on the UrbanCycle1.mat~UrbanCycle8.mat files in the Scripts_Data folder.
Naren Doraiswamy
am 25 Sep. 2018
I am facing the same problem too. I have saved my data from the scipy.io's savemat function and when i try to open it in matlab, i am confronted with this particular error. Any suggestions regarding solving the issue?
Thank you.
Alok Virkar
am 6 Nov. 2018
Hi were you able to resolve this issue? Im having a similar one interfacing python and matlab. When I download my mat file from python it has less memory than when I download it directly.
ali foroutannia
am 16 Mai 2019
Hi firends,
You can read it with the
dlmread('your .mat file')
command.
demos serghiou
am 20 Aug. 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
am 14 Jul. 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.
Antworten (1)
Faisal Khan
am 22 Nov. 2018
2 Stimmen
use addpath('your folder name') which contains the .mat files and then use load() function to call the mat file
Kategorien
Mehr zu Clutches finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!