How to export simulink model to c code

1 view (last 30 days)
Andreas
Andreas on 16 Mar 2014
Commented: Kaustubha Govind on 20 Mar 2014
I'm trying to get c code from a simple simulink model.
The model consists of a 'From Wave File' and a 'To Wave File' block. Later I want to perform some calculations on the wav content. (The model is attached).
I have read these two tutorials and tried to adopt that on my model, but if I click 'check model' I only get error messages that I do not understand.
Error:
  1. Identify block output signals with continuous sample time and non-floating point data type,
  2. Disable signal logging,
  3. Check sample times and tasking mode,
  4. Identify qustionable fixed-point operations.
The aim is to compile and run the c code without dependencies on Simulink.
Can anyone explain how this works?
I'm using Matlab/Simulink R2009b.
Thanks
  1 Comment
Kaustubha Govind
Kaustubha Govind on 20 Mar 2014
I am unable to open the PDF from nasa.gov, but which tool do you run 'Check Model' from? Here is documentation for the basics on generating C code from a model.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!