I just realised that if I compile a diagram containing only one custom block
it works.

However, if I use twice the same block (with the same .mo file) I get the
following error:

Does anyone have any idea on that question?


-------Modelica translator error message:-----
---------------------------------------------------
Translator v1.2 for Scicos from Modelica 2.x to flat Modelica
Copyright (C)
2005-2007 Imagine,
2007-2008 LMS-Imagine
Build date is not known (2008-04-01).
---------------------------------------------------

ERROR 0072:
--- Duplicate declaration of element "NL_Capacitor"

--- Execution step: Name resolution

--- Source: .\NL_Capacitor.mo
--- Line number: 1
--- Column number: 7



--
View this message in context: 
http://mailinglists.scilab.org/Scilab-users-Using-Modelica-generic-block-MBLOCK-in-Xcos-tp4029200p4029301.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to