Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Matlab Real Time Workshop Embedded Coder error
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Om

Posts: 2
Registered: 7/7/13
Matlab Real Time Workshop Embedded Coder error
Posted: Jul 7, 2013 9:17 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello all,

I am doing embedded C-Code generation using Embedded Matlab coder. I tried the Simulink Real-Time Workshop demo:

Demos>Simulink > Real-Time Workshop > Application Samples > Embeddable C-Code Generation Using Embedded MATLAB Coder

However after running:

emlc -T rtw:exe -o rtwdemo_emlcsobel rtwdemo_emlcmain.m stdio.h

I got the error:

??? Build error: Build failed for project "main_rtw". See the target build log for further details.
Error in ==> main Line: 1 Column: 1
Compilation failed: Open error report.

I am using 32-bit Matlab R2008a on a Mac.

----------

I tried running the same demo on a windows machine (64 bit R2010a) - I got a different error (do not have the error message) - it was something along the lines 'Could not locate MEX compiler options file mexopts.bat'.
When I run mex -setup, it shows 0 compilers when I try to automatically locate a compiler. I have Visual Studio 2010 Express installed on this computer. I am currently downloading Visual Studio 2008 Express, because it looks like R2010a Simulink does not support 2010 Express (http://www.mathworks.com/support/compilers/R2010a/win64.html).

Any help getting either of these issues sorted out would be appreciated.

Om



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.