Thread Subject:
Embedded Matlab Function sous Real-Time Workshop

Subject: Embedded Matlab Function sous Real-Time Workshop

From: NvZ

Date: 6 Jun, 2012 20:25:44

Message: 1 of 3

Hi everyone,
I work on a project where i must implement my Matlab code in DSP.
For that raison it necessary to go through the Simulink and the Real-Time Worshop.
I make the integration of my code (.m) using Simulink Block "Embedded Matlab Function" but when i passed to Build it by the RTW Building (Externel mode) I encounter this error:

_____________________________________________
Failed to eliminate a use of the MATLAB function 'Prog_'. For non-simulation builds, uses of unsupported MATLAB functions are eliminated if they do not affect function outputs.

Function 'Embedded MATLAB Function' (#18.245.285), line 16, column 1:
"[xx, tt]= Prog_()"
Launch diagnostic report.
______________________________________________

Please who can help me to solve this problem??
Thanks you very much ...

--http://compgroups.nethttp://compgroups.net/comp.soft-sys.matlab/

Subject: Embedded Matlab Function sous Real-Time Workshop

From: Phil Goddard

Date: 7 Jun, 2012 01:01:07

Message: 2 of 3

You function contains code that cannot be converted to c and hence cannot be used if you want to use Simulink Coder (RTW).
The only work around is for you manually write equivalent c code for that part of the model.

Phil.

Subject: Embedded Matlab Function sous Real-Time Workshop

From: NvZ

Date: 8 Jun, 2012 23:09:13

Message: 3 of 3

thanks
Do you think that the use of S-Function in place of Embedded Matlab Function can solve the problem because it stil eliminate functions like 'fspecial' and 'imfilter'...

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
simulink Phil Goddard 6 Jun, 2012 21:04:11
rssFeed for this Thread

Contact us