Why am i getting "Undefined function 'eq' for input arguments of type 'cell'." error?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Data Preprocessing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!