Undefined operator '-' for input arguments of type 'cell'.

1 vue (au cours des 30 derniers jours)
Kim Lopez
Kim Lopez le 18 Oct 2017
Réponse apportée : KSSV le 18 Oct 2017
Having this error. I just want to subtract the data in my cell.
l = Data(:,total+4);
b = Data(:,total+5);
disp(l-b);

Réponse acceptée

KSSV
KSSV le 18 Oct 2017
l = Data{:,total+4};
b = Data{:,total+5};
disp(l-b);
YOu have to access cell's by {}.

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by