- Instead of having multiple plot sub-apps at the same time, you can close the figures and can have only one window open at a time. This can be done by integrating close function into your callback
- You can refer to this answer, where a workaround was provided to limit the number of MATLAB figure windows that can be launched
- Increasing the system memory that MATLAB uses is another alternative. For more information refer to the workaround provided in the following answer.
UIAxes update error throwing standard exception
7 views (last 30 days)
Anyone track down what causes the error sequence:
UIAxes update filed for unknown reason
Caught "std::exception" Exception message is:
device or resource busy: device or resource busy
We're running an AppDesigner GUI we built that can open a new GUI for plotting collected data. Users have been opening multiple instances of the plot sub-app and this seems to have caused the aftermentioned errors, which in turn seem to have stopped timers from running and crashed the main application.
Searches on the forums and web produced unrelated information.
Our conclusion is that the graphics objects have run into a limit on processing/memory capability and we're going to address by limiting users ability to open more than a few custom plot windows.
Sivani Pentapati on 7 Dec 2021
Here are few possible workarounds you can try
If the above solutions don't work, It would be helpful if you could share a sample code which is causing the issue.