how to create .mat file from .csv file??

1 visualización (últimos 30 días)
saeeda saher
saeeda saher el 8 de En. de 2018
I have a .csv datset which has 3 columns. I want to create .mat file from it.I tried many codes like:
M=importdata('dataset')
save('dataset.mat','M')
and
M=importdata('dataset')
system('rename dataset dataset.mat');
It creates the .mat file,
but I dont know how to define the variables?
Kindly help

Respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by