Why am i getting "Undefined function 'eq' for input arguments of type 'cell'." error?
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Data Preprocessing 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!