- replace the concatenation operator (square brackets) with FULLFILE().
- replace IMPORTDATA with e.g. READTABLE, READMATRIX, or similar.
data{i}=importdata([pathname,filename{i}]);
5 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Anjaneyulu Bairi
2024-7-29
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Import and Export 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!