이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
MATLAB Function 블록 기본 사항
MATLAB Function 블록을 사용하여 Simulink 모델에서 MATLAB 함수를 구현할 수 있습니다. MATLAB Function 블록을 사용하면 데스크탑 및 임베디드 응용 프로그램에 배포할 용도로 읽기 가능하고 효율적이며 간소한 C/C++ 코드를 생성할 수 있습니다.
툴
MATLAB Function 블록 편집기 | Create, edit, and debug MATLAB code in MATLAB Function blocks |
블록
MATLAB Function | Include MATLAB code in models that generate embeddable C code |
객체
MATLABFunctionConfiguration | MATLAB Function block property configuration (R2019b 이후) |
Stateflow.EMChart | Stateflow interface to MATLAB Function block |
도움말 항목
- MATLAB 함수를 Simulink에서 MATLAB Function 블록으로 구현하기
MATLAB Function 블록을 사용하여 MATLAB에서 작성된 코드를 Simulink 모델로 구현합니다.
- Resolve Signal Objects for Output Variables
Manage implicit signal resolution at various levels of the model hierarchy.
- Run Simulations and Generate Code with Masked Library Subsystems Containing MATLAB Function Blocks
Run simulations and generate code with models using custom MATLAB Function blocks in a library.
- Code and Integration Limitations for MATLAB Function Blocks
Learn limitations of MATLAB Function blocks before use in your model.
- Call MATLAB Function Files in MATLAB Function Blocks
Use MATLAB Function blocks to call and execute code written in MATLAB function files.
- MATLAB Function 블록을 사용하여 C 코드 통합하기
MATLAB Function 블록을 사용하여 외부 C 코드를 호출하고, 열거형 및 버스 typedef를 제어합니다.
- Configure MATLAB Function Blocks Programmatically
Set up a MATLAB Function block and inspect it with programmatic commands.
문제 해결
Debug MATLAB Function block code during simulation.
Prevent Algebraic Loop Errors in MATLAB Function, Chart, and Truth Table Blocks
Adhere to restrictions for using MATLAB Function blocks, Chart, and Truth Table blocks in feedback loops.
특화된 의미 체계는 함수가 영속 데이터를 초기화하는 방법에 영향을 줍니다.