Query on spreadsheetimport options
1 次查看(过去 30 天)
显示 更早的评论
In Spreadsheetimportoptions (in script not gui). How to assign opts.variablenames from excel row in script.
0 个评论
回答(1 个)
Sai Sri Pathuri
2019-11-6
You may use readcell function to read the excel sheet in the form of a cell array and assign the desired value from cell array to opts.VariableNames variable by proper indexing.
Refer the following link for readcell function documentation
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!