Xcos help: document the model.uid field 66/12766/1
Clément DAVID [Tue, 1 Oct 2013 08:06:55 +0000 (10:06 +0200)]
Change-Id: Ic5da6d09d3d99ce2e05f09bd53a605fe3d29a8a6

scilab/modules/xcos/help/en_US/scilab_data_structures/blocks/scicos_model.xml

index 911a796..078af79 100644 (file)
                     Type : scilab list.
                 </para>
             </listitem>
+            <listitem>
+                <para>
+                    <emphasis role="bold">uid</emphasis>
+                </para>
+                <para>Unique identifier string of the block (2^16 per host)</para>
+                <para>This identifier will be only set using the Xcos GUI. To set a specific value at bloc allocation, use the following code:</para>
+                <programlisting role="example">
+                    jimport("java.rmi.server.UID");
+                    juid =  jnewInstance("java.rmi.server.UID");
+                    uid = juid.toString()
+                </programlisting>
+                <para> 
+                    Size : 1x1.
+                </para>
+                <para>
+                    Type : String.
+                </para>
+            </listitem>
         </itemizedlist>
     </refsection>
     <refsection id="Filecontent_scicos_model">