Matalb App inputs dont work unless pressed?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
Cris LaPierre
2021-10-19
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.
回答(1 个)
Cris LaPierre
2021-10-19
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Develop Apps Using App Designer 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!