Query on spreadsheetimport options
显示 更早的评论
In Spreadsheetimportoptions (in script not gui). How to assign opts.variablenames from excel row in script.
回答(1 个)
Sai Sri Pathuri
2019-11-6
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!