Tomas Högström <tomas@scandicraft.se> wrote in message
3B7121C8.1C4D5A13@scandicraft.se…
Isn’t it possible to make Simulink Realtime Workshop (which I assume you
refer to)
to generate platform independent, “general” C code? Then you’d not need
any
libraries at all, i.e. you can compile it in almost any OS.
It isn’t a problem; we can write some tmf and tlc files to generate QNX C
code. (we already do this for rtlinux)
We generate C code for QNX from the similar Autocode product from
ISI in this way. We have made code generation templates to make the code
fit into
our QNX environment. The math core of the code doesn’t need to be changed,
only
the I/O to the rest of the world, process/thread control and similar.
Some 90% of the code in our control systems are automatically generated.
Well, but where do you compile the C code for QNX?
We must generate C code for QNX (using matlab6), and then we must compile it
on the same platform (in this case linux); the last step is to send the QNX
executable from linux to QNX.
So we need a QNX compiler under linux, we can’t compile the C code,
generated by matlab, directly on QNX platform.
thanks and sorry for my english
–
Massimiliano Cialdi
cialdi@firenze.net
cialdi@control.dsi.unifi.it
cialdi@geoide.it