Thread Subject: SIMULINK on Real-Time Operating System

Subject: SIMULINK on Real-Time Operating System

From: Bulut

Date: 16 Nov, 2009 16:05:20

Message: 1 of 3

Hi All,
We've a code written in SIMULINK which includes Embedded Matlab files.Code does live image acquisition and video - image processing.[u]We need to run this code on a some kind of board[/u].First of all , we thought installing the code to a motherboard(ZOTAC ion itx B actually) with Linux OS.By realtime workshop tool of simulink we converted the code in to .c file .[u]But there is a vital issue:our process is done over the lively acquired video[/u].And Real-Time Workshop does not support converting live image acquisition block to .c because converted code works in rapid acceleration mode.We searched everywhere about that issue but found out nothing helpful.My question is : How can we solve that issue? What kind of a board we must use(or should we prefer FPGAs?)? And generally what kind of approach is made to create similar projects?

Yours,
Bulut

Subject: SIMULINK on Real-Time Operating System

From: witek@mathworks.com

Date: 17 Nov, 2009 13:52:40

Message: 2 of 3

Bulut,

The Image Acquisition Toolbox is currently supported on Windows. The live acquisition block that comes
with it does not generate code. In order to enable your application on Linux, you'll need to write
your own code for video acquisition. You can still use Simulink and RTW to generate the code for
the algorithmic part of your design. You can then integrate your image acquisition code with the
generated code to get a complete solution.

As far as using an FPGA is concerned, that is all in your hands and it depends on your needs. If
you are satisfied with the performance of the Intel Atom processor on the ZOTAC board, you might
as well stick with it. It's likely to be much easier to work with than an FPGA. The choice of
a board should match your budget/performance/power/etc. requirements.

HTH,

Witek


Bulut <bulutakisik@gmail.com> wrote:
> Hi All,
> We've a code written in SIMULINK which includes Embedded Matlab files.Code does live image acquisition and video - image processing.[u]We need to run this code on a some kind of board[/u].First of all , we thought installing the code to a motherboard(ZOTAC ion itx B actually) with Linux OS.By realtime workshop tool of simulink we converted the code in to .c file .[u]But there is a vital issue:our process is done over the lively acquired video[/u].And Real-Time Workshop does not support converting live image acquisition block to .c because converted code works in rapid acceleration mode.We searched everywhere about that issue but found out nothing helpful.My question is : How can we solve that issue? What kind of a board we must use(or should we prefer FPGAs?)? And generally what kind of approach is made to create similar projects?
>
> Yours,
> Bulut

Subject: SIMULINK on Real-Time Operating System

From: Bulut

Date: 18 Nov, 2009 03:05:19

Message: 3 of 3

Thank you very much for your interest.I'm curious about something:Let's say I've written a code which makes image acquisition out of Matlab , how can I send that data to my SIMULINK code?Do I have to put some sort of input to my simulink code?Are there any demos or any webinars to show "how to create a simulink file which will expect an input coming to it from another c code program ?"

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
realtime workshop Bulut 16 Nov, 2009 11:09:05
embedded matlab Bulut 16 Nov, 2009 11:09:05
linux Bulut 16 Nov, 2009 11:09:05
rapid acceleration Bulut 16 Nov, 2009 11:09:05
motherboard Bulut 16 Nov, 2009 11:09:05
fpga Bulut 16 Nov, 2009 11:09:05
rssFeed for this Thread

Contact us at files@mathworks.com