Clear Filters
Clear Filters

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

2 views (last 30 days)
Conversion to cell from double is not possible.

Accepted Answer

Walter Roberson
Walter Roberson on 18 Mar 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.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!