how to open mat file

1 visualización (últimos 30 días)
mohd akmal masud
mohd akmal masud el 31 de Dic. de 2020
Comentada: Walter Roberson el 31 de Dic. de 2020
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 31 de Dic. de 2020
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 comentarios
mohd akmal masud
mohd akmal masud el 31 de Dic. de 2020
oh i found. then place the dataProvider in mat folder?
Walter Roberson
Walter Roberson el 31 de Dic. de 2020
No, just add the directory to your MATLAB path.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by