User interface with GUI and callbacks working as interruption in a main function
11 次查看(过去 30 天)
显示 更早的评论
Is it possible to create an interface that execute a main and the callbacks functions works as interruptions? I need an user interface that when the user push an on button the program starts to take images from a camera and then procesed them and show them on the interface. The program needs image changing on the user interface until the button on is pushed again and it interrupt the main programme that are catching and processing images
3 个评论
Rik
2019-4-28
Clarification posted as duplicate question by Conchi Gongora Luque:
I have a artificial vision aplication and now I want to program a user interface that can show the client the image processed that the camera is taking. The image showed in the interface is constantly changing without any user interaction (without pushing any button ) and I don't know how to change images from the GUI without any user interaction.
I would like to know how can I programe a process that look to see if the button was pressed in every iteration.
采纳的回答
Rik
2019-4-28
You can use the callback of that second button to stop the continously looping timer function.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing and Computer Vision 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!