- Import the file in a variable or table with readtable
- Compare a single value with vector elements a == b. Output is logical array that may have true values on some indices
- Use info from step two to return the values you need.
Compare editfield.value to table values in app designer
2 次查看(过去 30 天)
显示 更早的评论
Hello.
I wanna make an app that is comparing a value(from editfield numeric) to a table imported from excel. The table has 3 columns (z , f , d). The value has to be found in the z column. If found, the f and d colums values coresponding to z has to be displayed. Can you help me? It's my first app made in app designer.
5 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!