이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
Simulink Coder
R2026aSimulink® Coder™는 Simulink 모델, Stateflow® 차트, MATLAB® 함수로부터 C 및 C++ 코드를 생성하고 실행합니다. 생성된 소스 코드는 시뮬레이션 가속, 신속 프로토타이핑, HIL(Hardware-in-the-Loop) 테스트를 포함해 실시간 및 비실시간 애플리케이션에 사용할 수 있습니다. Simulink를 사용하여 생성 코드를 조정하고 모니터링하거나 MATLAB 및 Simulink 외부에서 코드를 실행하고 해당 코드와 상호 작용할 수 있습니다.
Simulink 시뮬레이션을 FMU(Functional Mockup Units)로 공유하려면 Simulink FMU Builder를 사용하십시오.
Simulink Coder 시작하기
Simulink Coder의 기본 사항 배우기
아키텍처 및 컴포넌트 설계
생성된 코드 배포, 신속 프로토타이핑 또는 실시간 시뮬레이션을 위한 알고리즘을 개발하여 소프트웨어 시스템을 설계
코드 생성
코드 생성 및 디버깅, 리포트 생성
배포, 통합 및 지원되는 하드웨어
생성 코드의 통합, 보호, 패키징, 재배치와 생성 코드를 지원되는 하드웨어에 배포
코드 효율성
메모리 요구 사항을 최소화하고 실행 속도를 높여 생성 코드 최적화
코드 및 툴 사용자 지정
프로젝트 또는 조직에 맞춰 생성 코드와 코드 생성 툴 사용자 지정
검증 및 테스트
파라미터를 조정하고, 시뮬레이션과 생성된 코드 실행 결과를 비교하고, 코드 성능을 분석
문제 및 수정에 관한 버그 리포트 확인
Software is inherently complex and is not free of errors. The output of a code generator might contain bugs, some of which are not detected by a compiler. MathWorks reports critical known bugs brought to its attention on its Bug Report system at www.mathworks.com/support/bugreports/. Click the "Incorrect Code Generation" filter to obtain a report of known bugs that produce code that might compile and execute, but still produce wrong answers. To save the filtered results, click Save Search.
The bug reports are an integral part of the documentation for each release. Examine periodically all bug reports for a release, as such reports may identify inconsistencies between the actual behavior of a release you are using and the behavior described in this documentation.
In addition to reviewing bug reports, you should implement a verification and validation strategy to identify potential bugs in your design, code, and tools.