MATLAB: User interface with GUI and callbacks working as interruption in a main function

app designercallbackguiguidehaltinghelpimage processingintegrationinterfaceinterruptionMATLABprogrammingwhile loop

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

Best Answer

  • You can use the callback of that second button to stop the continously looping timer function.