I am trying to create an appropriate array from an excel sheet. I have read the sheet with [num str]=xlsread('Book1.xlsx'); This creates Name Size Bytes Class Attributes
num 5x10 400 doubleandName Size Bytes Class Attributesstr 6x10 6920 cellI would like to create a struct such that the field names coming from the row headers of str. but if i tryB=struct(str(1,1),num(:,1))I get an errorError using structField names must be strings.
Please suggest a work around if you know of one. Thank you