フィルターのクリア

Viewing Source Code in built in simulink block?

96 ビュー (過去 30 日間)
Chandana
Chandana 2012 年 5 月 2 日
回答済み: hasan kasem 2021 年 1 月 14 日
Hi can someone tell me how I can view the matlab source code for a built in simulink block? I am trying to make a modified accumulator block for my simulink model and I'd like to know how the built in simscape version is implemented. I have matlab version r2010b. Thanks

採用された回答

K E
K E 2012 年 5 月 2 日
Based on this answer, I think you may not be able to see the source code.

その他の回答 (2 件)

Chandana
Chandana 2012 年 7 月 24 日
Thanks for the help!

hasan kasem
hasan kasem 2021 年 1 月 14 日
To generate code, you must make the following changes:
  1. In the Modeling tab of the model toolstrip, click Model Settings. The Configuration Parameters dialog opens. Navigate to the Code Generation tab, select the Generate code only parameter, and click Apply.
  2. In the Apps gallery, click Simulink Coder. The C Code tab appears. Click the Generate Code icon ().

カテゴリ

Help Center および File ExchangeData Logging についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by