Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

help with mat file

1 visualización (últimos 30 días)
rohail khan
rohail khan el 9 de Abr. de 2018
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
When I load a mat file by giving its full path like this
load ('E:\Mathematical modellling\assignment1\april6\spectral_3.mat');
whos -file 'E:\Mathematical modellling\assignment1\april6\spectral_3.mat'
I find that the type is double
but when I try to open it like
y=load ('spectral_3.mat');
whos -file 'spectral_3.mat'
then i find that the type is struct How can i fix it
Actually I want to send the mat file with the assignment.
  2 comentarios
KSSV
KSSV el 9 de Abr. de 2018
Your data is stored in y. YOu can extract the data from it.
Walter Roberson
Walter Roberson el 9 de Abr. de 2018
In particular y will be a struct with one field for each variable stored in the file.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by