코드 생성
표준을 준수하는 최적화된 C, C++, CUDA, Verilog, VHDL 생성
MathWorks® 제품의 코드 생성 기능을 사용하면 MATLAB® 코드 또는 Simulink® 모델에서 코드를 생성할 수 있습니다. 수천 줄의 코드를 직접 작성하는 대신 생산성을 높이고 코드 품질을 향상시킬 수 있습니다. 신호 처리, 산업 제어, 임베디드 비전, 딥러닝 같은 응용 분야에서 사용할 코드를 생성할 수 있습니다. C, C++, CUDA®, Verilog®, VHDL®, PLC 코드를 생성하거나 AUTOSAR 또는 DDS와 같은 미들웨어 아키텍처 및 표준을 위한 코드를 생성합니다. 코드에 대한 인증을 받으려면 ISO26262 및 DO-178C 등의 표준에 부합하는지 검증하십시오.
코드 생성 관련 제품
도움말 항목
C/C++ 코드 생성
- Code Generation by Using Embedded Coder (Embedded Coder)
MathWorks code generation technology produces C or C++ code and executable programs for algorithms. - Deploy Algorithm Model for Real-Time Rapid Prototyping (Simulink Coder)
Deploy algorithm model for testing in real time. - Generate C Code by Using the MATLAB Coder App (MATLAB Coder)
Generate C/C++ code from MATLAB code by using the MATLAB Coder™ app.
HDL 코드 생성
- Generate Code and Synthesize on FPGA Using HDL Workflow Advisor (HDL Coder)
The HDL Workflow Advisor guides you through the stages of generating HDL code for a Simulink subsystem and the FPGA design process, such as: - Basic HDL Code Generation and FPGA Synthesis from MATLAB (HDL Coder)
This example shows how to create a HDL Coder™ project, generate code for your MATLAB® design, and synthesize the HDL code. - Verify HDL Design Using SystemVerilog DPI Test Bench (HDL Coder)
This example shows how to use SystemVerilog DPI test bench for verification of HDL code where a large data set is required.
GPU 코드 생성
- Code Generation by Using the GPU Coder App (GPU Coder)
Generate CUDA code from MATLAB code by using the GPU Coder™ app. - Code Generation from Simulink Models with GPU Coder (GPU Coder)
Generate CUDA code from Simulink models by using GPU Coder. - Code Generation for Deep Learning Networks (GPU Coder)
Get started with CUDA code generation for image classification networks such asMobileNet-v2
,ResNet
, andGoogLeNet
.
PLC 코드 생성
- Generating Ladder Diagram Code from Simulink (Simulink PLC Coder)
Generate Ladder Diagram code (L5X) from Simulink. - Generate Structured Text Code for a Simple Simulink Subsystem (Simulink PLC Coder)
This example shows how to select the target IDE for a Simulink® model, generate code, and view generated files. - Model, Simulate, and Generate Code for Ladder Logic-Based Elevator Controller (Simulink PLC Coder)
Rapidly prototype the ladder logic-based controller for a single car elevator by using Simulink® PLC Coder™ to model and simulate the ladder logic.
미들웨어 아키텍처를 위한 코드 생성
- Generate AUTOSAR C Code and XML Descriptions (AUTOSAR Blockset)
Generate AUTOSAR-compliant C code and export AUTOSAR XML (ARXML) descriptions from AUTOSAR component model. - Generate AUTOSAR Adaptive C++ Code and XML Descriptions (AUTOSAR Blockset)
Generate AUTOSAR-compliant C++ code and export AUTOSAR XML (ARXML) descriptions from AUTOSAR adaptive component model. - DDS Blockset Shapes Demo (DDS Blockset)
DDS Blockset implementation of Shapes Demo.
인증 및 표준
- ISO 26262:2018 Case Study Using Model-Based Design (IEC Certification Kit)
Use a project to streamline the adoption of a Model-Based Design workflow for an ISO 26262:20218 ASIL D project. - Helicopter Flight Control: A Model-Based Design Example for DO-178C and DO-331 (DO Qualification Kit)
Demonstrates the use of the DO-178C project template in a helicopter flight control project.