Effacer les filtres
Effacer les filtres

data{i}=im​portdata([​pathname,f​ilename{i}​]);

5 vues (au cours des 30 derniers jours)
neela
neela le 29 Juil 2024
Commenté : neela le 29 Juil 2024
meaning of this code
  2 commentaires
Stephen23
Stephen23 le 29 Juil 2024
Tips for better code:
  • replace the concatenation operator (square brackets) with FULLFILE().
  • replace IMPORTDATA with e.g. READTABLE, READMATRIX, or similar.
neela
neela le 29 Juil 2024
Thanks

Connectez-vous pour commenter.

Réponses (1)

Anjaneyulu Bairi
Anjaneyulu Bairi le 29 Juil 2024
Hi,
Here is the explanation of "data{i}=im​portdata([​pathname,f​ilename{i}​])"
The code imports data from a file whose path is constructed by concatenating pathname and filename{i}, and then stores the imported data into the i-th position of the cell array data.
Here "importdata" is a funciton in MATLAB.To know more information on this function , you can visit below documentation link
Hope this helps.
  1 commentaire
neela
neela le 29 Juil 2024
Thank you so much

Connectez-vous pour commenter.

Catégories

En savoir plus sur Data Import and Export dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by