how to select targettype for simulink coder

2 次查看(过去 30 天)
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

采纳的回答

Kaustubha Govind
Kaustubha Govind 2011-8-4
  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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Coder 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by