Can I save calculations performed in App Designer to the workspace?
4 views (last 30 days)
Hi, I am creating an application which performs calculations based on user inputs and plots it on a graph. I would like to add a button that saves or exports the graph data to the MATLAB workspace (alternatively save it as a .mat file in a specified directory). Any ideas on how to do this? /danbro
Thomas Fournier on 11 Aug 2021
You can use the command "assignin"
for exemple, here is a button's callback that send all the app data to the workspace:
function Send2workspaceButtonPushed(app, event)