Exmple of implementing C code in Simulink

Could someone provide me an example for using C code in Simulink? Thanks.

 採用された回答

A Jenkins
A Jenkins 2014 年 4 月 22 日

0 投票

There are dozens of examples included with MATLAB. In your command window, type
sfundemos
Or see the help file.

2 件のコメント

William
William 2014 年 4 月 23 日
I was able to open the examples. Can we access the C code?
A Jenkins
A Jenkins 2014 年 4 月 23 日
In my version (2013b), all of the sample models contain a blue block with the path name of the source, you can double click on that block to open the C source in the editor.
Or just go to matlabroot/toolbox/simulink/simdemos/simfeatures/src. The help file link above has descriptions of which file is which.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

質問済み:

2014 年 4 月 22 日

コメント済み:

2014 年 4 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by