Save in a variable Excel cells Matlab
1 次查看(过去 30 天)
显示 更早的评论
would like please can you help me validate the following, I have a database in Excel, this has several columns among which there are numbers, decimals and text, how can I save each excel cell and save them in a variable in Matlab, in order to show them later in a text.
thank you very much for your valuable help,
best regard
Addison
0 个评论
回答(1 个)
ANKUR KUMAR
2017-12-5
filename = 'myExample.xlsx';
sheet = 1;
xlRange = 'B2:C3';
subsetA = xlsread(filename,sheet,xlRange)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!