I am trying to write a script which reads the variable names from a excel sheet and defines each of the variable as a Simulink.Parameter. Need help with that.

1 view (last 30 days)
xlsread returns txt as a cell array. Text from the cell array can't be converted to a simulink.parameter. txt(2,1)=Simulink.Parameter ??? The following error occurred converting from Simulink.Parameter to cell: Error using ==> cell Conversion to cell from Simulink.Parameter is not possible.
Anyone got an idea to solve this.

Answers (0)

Community Treasure Hunt

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

Start Hunting!