Query on spreadsheetimport options

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

Antworten (1)

Sai Sri Pathuri
Sai Sri Pathuri am 6 Nov. 2019

0 Stimmen

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

Produkte

Version

R2019a

Gefragt:

am 31 Okt. 2019

Beantwortet:

am 6 Nov. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by