John Reilly
2008-08-29 16:37:03 UTC
hi,
in my mask parameter callback handler, i am using
hws = get_param(bdroot, 'modelworkspace')
to get a handle to the Simulink.ModelWorkspace object. then
i use
value = hws.evalin(get_param(gcb, 'p'));
to get the actual numeric value of the parameter p. when i
execute this command, the model window indicates (with the
asterisk) that the model has changed. when it hasn't. i'm
not changing anything; just reading.
is there a way to get the numeric value without the model
thinking it has changed?
i'm using r2007b.
thanks.
reilly.
in my mask parameter callback handler, i am using
hws = get_param(bdroot, 'modelworkspace')
to get a handle to the Simulink.ModelWorkspace object. then
i use
value = hws.evalin(get_param(gcb, 'p'));
to get the actual numeric value of the parameter p. when i
execute this command, the model window indicates (with the
asterisk) that the model has changed. when it hasn't. i'm
not changing anything; just reading.
is there a way to get the numeric value without the model
thinking it has changed?
i'm using r2007b.
thanks.
reilly.