ERROR :Unable to read MAT-file. Not a binary MAT-file. Try load -ASCII to read as text.
古いコメントを表示
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 件のコメント
Nicolas Schmit
2018 年 3 月 27 日
Did you run startup_DCT_Model.m before opening the Simulink model?
tupac1971ful
2018 年 3 月 27 日
Nicolas Schmit
2018 年 3 月 28 日
- 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
2018 年 3 月 28 日
Nicolas Schmit
2018 年 3 月 29 日
Try to manually load the mat files by double clicking on the UrbanCycle1.mat~UrbanCycle8.mat files in the Scripts_Data folder.
Naren Doraiswamy
2018 年 9 月 25 日
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
2018 年 11 月 6 日
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
2019 年 5 月 16 日
Hi firends,
You can read it with the
dlmread('your .mat file')
command.
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
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
2018 年 11 月 22 日
2 投票
use addpath('your folder name') which contains the .mat files and then use load() function to call the mat file
カテゴリ
ヘルプ センター および File Exchange で Tires and Vehicles についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!