Effacer les filtres
Effacer les filtres

what is .data extension in matlab

8 vues (au cours des 30 derniers jours)
shawin
shawin le 25 Mai 2024
Modifié(e) : Cris LaPierre le 26 Mai 2024
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 commentaire
Cris LaPierre
Cris LaPierre le 26 Mai 2024
I would consider using readtable or readmatrix instead

Connectez-vous pour commenter.

Réponses (1)

Cris LaPierre
Cris LaPierre le 26 Mai 2024
Modifié(e) : Cris LaPierre le 26 Mai 2024
It is not an extension. X is a structure with a field named 'data'.
Learn more here: Structure arrays

Catégories

En savoir plus sur Standard File Formats dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by