MATLAB error MATLAB error message:
古いコメントを表示
Parameters must be of type double or char for Real-Time Workshop if the S-function does not have TLC. what should i do?
回答 (1 件)
Kaustubha Govind
2012 年 4 月 12 日
0 投票
The error message seems pretty clear - your S-function can only have double or char type parameters to be supported for code-generation. What type are you using?
7 件のコメント
chen
2012 年 4 月 12 日
Jan
2012 年 4 月 12 日
@chean: At first, please describe what you are doing currently to produce the error. It is hard to suggest a modification, if the action is not known.
chen
2012 年 4 月 12 日
Kaustubha Govind
2012 年 4 月 12 日
Did you write that S-function? What are the parameter defined for it, and what are the types?
Jan
2012 年 4 月 12 日
@chen: Sorry for the typo in the name.
Consider, that you are familiar with the problem and see it directly on your screen, but the readers in this forum do not have the faintest idea about what you are doing. Please add all necessary information by editing the original question, not as comments to an answer. Thanks.
chen
2012 年 4 月 12 日
Kaustubha Govind
2012 年 4 月 12 日
Are you attempting to generate HDL code? If yes, there is a different process to generate HDL code from Xilinx Blocksets. See page 49 here: http://www.xilinx.com/support/documentation/sw_manuals/xilinx12_2/sysgen_gs.pdf
Also, I would urge you to fix your question like Jan suggested so that this discussion is useful for other users.
カテゴリ
ヘルプ センター および File Exchange で Simulink Coder についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!