Re: pushing variables from a function to the workspace



"David " <dave@xxxxxxxxxxxxxx> wrote in message <g6s575
$o9t$1@xxxxxxxxxxxxxxxxxx>...
"rajko " <rajko.petelka@xxxxxxxxxxxxx> wrote in message
<g6s496$d2o$1@xxxxxxxxxxxxxxxxxx>...
Hi all,

i would like to analyze my data with linked plots and
the
brushing tool (R2008a).

The variables and the plots are calculated/created in a
separate function. So after the run of the function i
have
my figures and the workspace is empty.

What do i have to do (from the function side) to link
the
plots, to push the plotted variables to the workspace.

I have no chance to use global values, because the
function
has to run for its own so that i can compile this
function
to a self running .exe file.

thank you for your answers,
best regards,
Rajko

well, assignin would be the normal way to push values
back
to the base workspace. i don't know how that works when
you compile it though. maybe returning the values would
work better for that?

Ohh Yess David,

thank you for the tip.

assignin was the key word.

Later i will take a look to the "workspace functionality"
with self running programs.

best regards,
rajko

.