Simulating my model using
evalin('base','sim(''Gen_Diff_Model_2'')')
to bring the variable ScopeData1 to the base workspace. However when plotting the data using:
function Plot_Callback(hObject, eventdata, handles) axes(handles.HV_Measurement); plot(ScopeData1.time, ScopeData1.signals.values)
I receive: "Undefined function or variable 'ScopeData1'."
Thanks
Best Answer