MATLAB Answers

how to open mat file

조회 수: 5(최근 30일)
mohd akmal masud
mohd akmal masud 2020년 12월 31일
댓글: Walter Roberson 2020년 12월 31일
Hi all,
can anyone help me how to open mat file in MATLAB.
so that i can change some data.
i used this script as below
folder = 'C:\Users\Akmal\Downloads\NUKDOS_code\NUKDOS EXE'; % You specify this!
fullMatFileName = fullfile(folder, 'Murrat_Mustermann_1223_Case.mat')
if ~exist(fullMatFileName, 'file')
message = sprintf('%s does not exist', fullMatFileName);
s = load(fullMatFileName);
but error pop up below
Warning: Variable 'controller' originally saved as a dataProvider cannot be instantiated as an
object and will be read in as a uint32.
> In openmatfile (line 7)
Please help me.

채택된 답변

Walter Roberson
Walter Roberson 2020년 12월 31일
You need to add the class dataProvider to the MATLAB path before you load the file, if you need to load variable controller .
If you do not need variable controller then ignore the message, as it is a warning rather than an error.
  댓글 수: 8
Walter Roberson
Walter Roberson 2020년 12월 31일
No, just add the directory to your MATLAB path.

댓글을 달려면 로그인하십시오.

추가 답변(0개)

Community Treasure Hunt

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

Start Hunting!

Translated by