[Scilab-users] Small problem with Scilab 6.0.1 code generation
Vilppu
vilppu91 at hotmail.com
Thu Feb 21 11:14:24 CET 2019
Hello,
Has anyone tried using code generation on my example model?
I installed the new Scilab 6.0.2 and with that I get even less far with code
generation. When trying code generation I get this Scilab pop-up window
message:
Undefined operation for the given operands. check or define function %c_a
for overloading.
After clicking ok:
Generated block cannot be linked with Scilab.
I also installed Microsoft Visual Studio 2013 Express and Scilab recognizes
that compiler with findmsvccompiler() command. I can run Xcos Modelica demos
with no problems. Still, I get same errors when trying code generation. So
the problem isn’t with compiler.
I even tried installing Scilab 6.0.1 and 6.0.2 on different PC with Windows
8.1. I get same errors there. I have also uninstalled and reinstalled
Scilabs on this Windows 10 computer with different install settings. Every
time before installing I have also deleted Scilab folder from
C:\Users\...\AppData\Roaming folder.
To recap, Scilab 6.0.1 warns about adding empty matrix but compiles and
links the generated code without problems. The problem is that the super
block doesn’t turn into C block. Scilab 6.0.2 warns about undefined
operation where %c_a refers to adding. Scilab 5.5.2 works without problems.
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
More information about the users
mailing list