Why am i getting "Undefined function 'eq' for input arguments of type 'cell'." error?
Ältere Kommentare anzeigen
Hello, I am new to matlab app designer and I was tasked to program an app that computes for delivery prices. although I am not sure why I am getting this error when i try to run my program. In the pickUpValue, I used Items data to set my Items to a certain value which is the same with dropOffValue.
pickUpValue = app.PickUpDropDown.ItemsData;
dropOffValue = app.DropOffDropDown.ItemsData;
if pickUpValue == '1' && dropOffValue == '1'
totalLocCost = 30;
app.TotalShippingCostTextArea.Value = totalLocCost;
else
totalLocCost = 60;
end
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Data Preprocessing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!