Matalb App inputs dont work unless pressed?
1 view (last 30 days)
Show older comments
I have this weird problem with my app where i have 5 check boxes 1,2,3,4,5
each one correlates to a filter for my tables. When i go into the app and click one and then apply the filter it crashes my app. however when i go in click them all then unlick them all and choes my filter the app works flawlessly?
Im so confused its like my app needs me to press all my inputs before to set a value to them, i cant just click one filter and hit apply, i have to click them all then unclick them and proced as normal..
Any help would be great
2 Comments
Cris LaPierre
on 19 Oct 2021
Without an app to test, this sounds like there may be an issue with how you have programmed your app. What do you mean by 'crashes' your app? Are there error messages? If so, copy/paste the entire error message here (all the red text).
Can you share your app? Attach your mlapp using the paperclip icon.
Answers (1)
Cris LaPierre
on 19 Oct 2021
This sounds like an issue with how you process your data. Inspect what the code in your checkbox callback functions is doing to your data. It would appear that, originally, your inputs to ismember are different data types, but somehow as your callback functions execture, the datatypes are changed to be the same.
Sorry this is kind of vague, but the issue is specific to what your app is doing, and not with app designer in general. Without more specific information (data + code), this is the best I can do.
0 Comments
See Also
Categories
Find more on Develop Apps Using App Designer 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!