Ales,

I am deeply involved in such a project right now. I know Real Time
Workshop pretty well and what you are suggesting is exactly what I am
trying to do ... right now ! I have been spending a signifcant amount of
time to verify the performance of RTAI and RTL and my goal is to automate
the process of starting from a simulink diagram to a loadable module.

although you can do it with a TLC , I believe that all that is really
required to do is to modify the grt_main.c into something that will be
compatible with RT Linux.

You can contact me for more information if you need. 

Michel


-----------------------------------
Michel Doyon, M.Eng.
Senior STVF Control Engineer
Canadian Space Agency
6767 route de l'aeroport
St-Hubert (Quebec)
J3Y 8Y9 - CANADA
Tel.:  (450) 926 4679 - Fax :  (450) 926 4695
[EMAIL PROTECTED]



On Fri, 19 May 2000, Ales Bardorfer wrote:

> Hi!
> 
> I'm quite a newbie in RTL programming, and have a rather hypothetical
> question for the RTL experts familiar with Matlab & Simulink.
> It concerns the capability to translate a Simulink model to a RTL
> module.
> 
> Simulink has the capability of generating C code out of a graphical
> model representation, which can use virtually any Matlab function (there
> exist a huge library of functions in Matlab, which makes it a "de-facto"
> standard as a simulation environment). The application can then be
> executed as a proces of the OS, which can in the best case run in soft
> real-time as I understand it.
> 
> It is also capable of generating a code to run on e.g. Tornado VxWorks
> real time OS. They call it targeting a specific  hardware/RTOS.
> Would it then be possible to target RTLinux too? Has anyone on this list
> been thinking in this direction or even tried to do something like that? 
> 
> The standard process of targeting a specific hardware in Simulink/Matlab
> is to use their "Real Time Workshop" to make a platform independent
> model representation and then use "Target Language Compiler" (TLC) to
> make target specific code/executable.
> Then, for RTLinux, the TLC compiler is all there is needed to genrate a
> loadable module? Am I right or do I simplify things too much?
> I guess, that making such a compiler (TLC) is not that simple...
> I assume that Matlab generated C code uses some external libraries and
> probably dynamic memory allocation, which is, as I understand, not
> feasible in RTLinux (or any other hard RTOS).
> 
> 
> Does anyone have some useful links/experience of this item? 
> Any hint/note or correction of my humble knowledge is welcome!
> 
> Regards,
> Ales
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
> 
> 

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to