I have a simulink file, which I want to run with a push button from GUI, I have used the following lines for the call back function:
simOut = sim('Final_Version','SimulationMode','Normal','AbsTol','1e-5',...
my problem is that, when I'm running the simulink file from GUI the blocks that I have set to be saved in workspace doesn't come in the workspace, However when I run the simulink file directly, they appear in workspace! can anyone help me with this??
thanks in advanced!