how to select targettype for simulink coder

2 views (last 30 days)
I have 2 quarries here
1.In model file which is consisting of xilinx block sets is showing error when i want to generate simulink coder.target language is 'c' and target type is"Generic Real-Time Target"
error is S-function 'negative/AddSub' parameters must be of type double or char for Real-Time Workshop if the S-function does not have TLC.
2. here i am generating simulink coder for a model file consisting of simulinx blocks . i given target language is 'c' and target type is"Generic Real-Time Target"
when generation is in progress its asking in matlab command window 00015: %assign TargetType = "RT"
TLC-DEBUG>
if after generating exe how can we use that for gui...
here what i have to give please help me for this

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 4 Aug 2011
  1. I don't believe Xilinx System Generator blocks are supported for generating C/C++ code - you can only generate HDL from them.
  2. You probably have TLC Debugging enabled - uncheck the Start TLC Debugger when generating code box on the the Configuration Parameters dialog (select the Debug pane under Code Generation). Now it should not stop at the TLC-DEBUG prompt.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!