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

2 ビュー (過去 30 日間)
neela
neela 2024 年 7 月 29 日
コメント済み: neela 2024 年 7 月 29 日
meaning of this code
  2 件のコメント
Stephen23
Stephen23 2024 年 7 月 29 日
Tips for better code:
  • replace the concatenation operator (square brackets) with FULLFILE().
  • replace IMPORTDATA with e.g. READTABLE, READMATRIX, or similar.
neela
neela 2024 年 7 月 29 日
Thanks

サインインしてコメントする。

回答 (1 件)

Anjaneyulu Bairi
Anjaneyulu Bairi 2024 年 7 月 29 日
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 件のコメント
neela
neela 2024 年 7 月 29 日
Thank you so much

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by