bonsoire a tous ,voila j'ai un erreur dans le code et je peut pas le resoudre

1 Ansicht (letzte 30 Tage)
Conversion to cell from double is not possible.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 18 Mär. 2018
Somewhere in your code you have a line of the form
variable(index) = value;
where value is numeric. However, your variable is a cell array rather than a numeric array, and MATLAB cannot figure out how to convert the numeric value into a cell array to store it.
You probably instead want
variable{index} = value;
This is an outline of what is wrong; we would need to see your code to be sure.

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by