what is .data extension in matlab

7 次查看(过去 30 天)
shawin
shawin 2024-5-25
Hi,
I have the code below:
X=importdata('test.csv');
B = X.data;
I searched for the .data extenion file type , but could not find explaination in matlab !!
please could you explain what is this file type and when i can use it!!!
why not use csv read ? instead of importdata() !!!
Thanks

回答(1 个)

Cris LaPierre
Cris LaPierre 2024-5-26
编辑:Cris LaPierre 2024-5-26
It is not an extension. X is a structure with a field named 'data'.
Learn more here: Structure arrays

类别

Help CenterFile Exchange 中查找有关 Standard File Formats 的更多信息

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by