Re: pushing variables from a function to the workspace



hi,
it depends on ur plot, if u are using a normal gui, u can
save all variables with setappdata() and then get it every
moment back with getappdata,

if u are using a simple plot, so why not just save ur
workspace whole or partly with save 'name of your variable'
'saved_name'

Gr??e!


.



Relevant Pages

  • GUI : plot two variables on the same axes
    ... The problem with my code is that when I try to plot the second variable, the draw of the first dissapear. ... % hObject handle to figure ... % get values into this workspace, instead of evaluating PLOT command ...
    (comp.soft-sys.matlab)
  • Re: Step input as i drive
    ... .I can do it in simulink but i have to work on a data in my workspace. ... you could generate the plot as ... When i use sink, to workspace, with a step that starts at 10 seconds with value -2 i get two variable in workspace called tout and simout. ...
    (comp.soft-sys.matlab)
  • Re: GUI and File browsing
    ... and I need to plot some of them in different graphs. ... in .mat files and then bring them into your workspace ... it seems you want a GUI to allow you to select ... would create three separate traces. ...
    (comp.soft-sys.matlab)
  • GUI : plot variables and add legend automatically
    ... I'm doing a GUI to plot two variables from the workspace on the same axes. ... function lb_OpeningFcn(hObject, eventdata, handles, varargin) ... function update_button_Callback(hObject, eventdata, handles, varargin) ...
    (comp.soft-sys.matlab)
  • Re: using find for entire workspace
    ... >> I have several variables in one workspace and would ... >> plot (without having to look in each single matrix). ... what commands do you use for the last step (loop)? ...
    (comp.soft-sys.matlab)