<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16450"></HEAD>
<BODY>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>Hi
all,</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>I used to have
scicos blocks that were able to show some parameters on their instantiations.
This was how:</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>- In the "define"
case of the interface function: in the gr_i string to be displayed:
reference some variable names.</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>- In the "set" case
of the interface function: assign new values to these variables and
store them in the arg1.graphics.exprs list.</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>- In the "plot" case
of the interface function: unpack the same variables from arg1.graphics.exprs
and call standard_draw.</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>Worked like a charm
in scicos 4.3. Stopped working in Scilab 5.3.3.</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>I do see blocks like
CONST_m displaying their parameter and changing them dynamically after
assigning new parameter values. What I do not see is how it is done: I do not
see, after the dialog is dismissed in scicos_getvalues, where the parameter gets
to be displayed on the xcos diagram.</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>Can anyone point me
in the right direction?</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2
face=Arial>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2 face=Arial>Len
Remmerswaal.</FONT></SPAN></DIV>
<DIV><SPAN class=703195614-26112012><FONT size=2
face=Arial> </FONT></SPAN></DIV></BODY></HTML>