Query on spreadsheetimport options

In Spreadsheetimportoptions (in script not gui). How to assign opts.variablenames from excel row in script.

답변 (1개)

Sai Sri Pathuri
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

카테고리

제품

릴리스

R2019a

질문:

2019년 10월 31일

답변:

2019년 11월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by