- replace the concatenation operator (square brackets) with FULLFILE().
- replace IMPORTDATA with e.g. READTABLE, READMATRIX, or similar.
data{i}=importdata([pathname,filename{i}]);
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
meaning of this code
2 comentarios
Stephen23
el 29 de Jul. de 2024
Tips for better code:
Respuestas (1)
Anjaneyulu Bairi
el 29 de Jul. de 2024
Hi,
Here is the explanation of "data{i}=importdata([pathname,filename{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.
Ver también
Categorías
Más información sobre Cell Arrays en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!