Interactive Workflow Extension

I recently had an idea for a side project: building an app/extension that can interactively follow simulations and visualise the live flow of code execution.
For this, I would need access to variables, datasets, and the function call stack during execution, ideally without interfering with the actual code execution.
However, I found that MATLAB's current architecture makes this difficult, as the entire application runs in a single thread and there are no publicly exposed APIs to access runtime variables without interrupting execution.
Can anyone suggest a possible workaround or an alternative approach to achieve this?
Kenneth Davis
Kenneth Davis about 18 hours ago
I'm not entirely clear about what you want to do, but could this be done with MATLAB's debug functions:

Tags

No tags entered yet.