필터 지우기
필터 지우기

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 CenterFile Exchange에서 Data Logging에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by