how to open mat file

1 次查看(过去 30 天)
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);
uiwait(warndlg(message));
else
s = load(fullMatFileName);
end
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 个评论
mohd akmal masud
mohd akmal masud 2020-12-31
oh i found. then place the dataProvider in mat folder?
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