MatLab does not reads Excel sheet properly
古いコメントを表示
status = mkdir('D:\PK90'); cd D:\PK90
filename = 'sample111.xlsx'; T = readtable(filename);
P = 2*T.A + 3*T.B + 4*T.C + 5*T.D + 6*T.E
%% When running the Excel sheet, I want MatLab to read the values of all the parameters as varies in the sheet downward. When one parameter varies other values will be considered from first row.
4 件のコメント
Cris LaPierre
2024 年 2 月 12 日
Please attach your excel sheet using the paperclip icon in the ribbon.
Dyuman Joshi
2024 年 2 月 12 日
Just to clarify - You are making a new directory (which will be an empty folder) and then assign it to be the current directory (again empty), from which you are trying to read a file (which does not exist in that empty folder)?
MINATI PATRA
2024 年 2 月 13 日
移動済み: Cris LaPierre
2024 年 2 月 13 日
MINATI PATRA
2024 年 2 月 13 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!