Hello, Thank you for the quick reply.
Scilab6_step.zcos <http://mailinglists.scilab.org/file/t497907/Scilab6_step.zcos> I have attached the Xcos model which I'm testing. It is just the step function example with CLR and mux blocks inside a super block. When I have the warning function set to stop and I try to generate code from the super block, I get this pop-up window titled Scilab Message: *** Execution stopped after a warning. *** Set warning("on") to continue execution after a warning. After I click ok. I get a new Scilab message: Generated block cannot be linked with Scilab. I have this text in Scilab console: operation +: Warning adding a matrix with the empty matrix will give an empty matrix result. blk = [] When I have the warning function set to on and I try to generate code from the super block, I get this text in Scilab console: operation +: Warning adding a matrix with the empty matrix will give an empty matrix result. operation +: Warning adding a matrix with the empty matrix will give an empty matrix result. operation +: Warning adding a matrix with the empty matrix will give an empty matrix result. Generate a loader file Generate a Makefile Running the Makefile Compilation of test.obj Compilation of test_void_io.obj Compilation of test_Cblocks.obj Building shared library (be patient) Generate a cleaner file Shared archive loaded. Link done. blk = GUI : test_c Graphics: orig = [190,110] sz = [100,90] exprs = [] pin = 0 pout = 0 pein = [] peout = [] gr_i = [] id = "" in_implicit = "E" out_implicit = "E" in_style = "ExplicitInputPort;align=left;verticalAlign=middle;spacing=10.0;rotation=0" out_style = "ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0" in_label = "" out_label = "" style = "SUPER_f" Model : test type: 4 in = 1 in2 = 1 intyp = 1 out = 2 out2 = 1 outtyp = 1 evtin = [] evtout = [] state = 0 dstate = [0;0;0;0] odstate = list(0,0,[0;0]) rpar : SuperBlock ipar = [2;1;1] opar = list() blocktype = "c" firing = [] dep_ut = [%t,%t] label = "" nzcross = 0 nmode = 0 equations = list() uid = "" -- Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
