필터 지우기
필터 지우기

Exmple of implementing C code in Simulink

조회 수: 1 (최근 30일)
William
William 2014년 4월 22일
댓글: A Jenkins 2014년 4월 23일
Could someone provide me an example for using C code in Simulink? Thanks.

채택된 답변

A Jenkins
A Jenkins 2014년 4월 22일
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개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by