이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
호출 가능 함수 통합
Simulink 함수에서 생성된 호출 가능 진입점 함수를 플랫폼 스케줄링 소프트웨어와 통합
Embedded Coder® 배포 옵션은 플랫폼별 함수 스케줄러 및 기타 플랫폼 미들웨어와 통합할 수 있는 소스 코드 모듈을 생성하는 것입니다. 코드를 통합하려면 데이터와 관련해 다음 사항을 고려해야 합니다.
- 조건부로 컴파일된 차원이 있는 파라미터 데이터를 가져옵니다. 
- 생성된 코드와 외부 코드 간에 구조화되거나 열거된 데이터를 교환합니다. 
- 코딩 표준에 맞게 데이터형을 바꾸거나 이름을 변경합니다. 
또 다른 옵션은 외부 코드 베이스에 통합할 수 있는 공유 라이브러리를 생성하는 것입니다.
도움말 항목
소스 코드
- Generate Component Source Code for Export to External Code Base
 Integrate C/C++ source code, which you generate from a model component, with code developed outside the Simulink® environment.
- Generate Code That Matches Appearance of External Code
 Configure how the code generator applies identifiers (symbols), comments, code styles, code format, and organization.
- Integrate External Application Code with Code Generated from PID Controller
 Generate code that matches the data interfaces, appearance, and organization of external code.
- Generate Main Program for Deployment to Bare-Metal Target Hardware
 Configure model for producing an example main program.
- Deploy Generated Component Software to Application Target Platforms
 Run an executable program with a target support package for Linux®, Microsoft® Windows®, or Wind River® VxWorks® operating systems.
- Deploy Applications to Target Hardware
 Generate application code that includes an example main program and scheduler.
공유 라이브러리
- Generate Shared Library for Export to External Code Base
 Build a shared library from a model component and export the library to an application for system simulation, software reuse, or intellectual property protection. Requires an Embedded Coder license.
- Interface to a Development Computer Simulator by Using a Shared Library
 Generate a shared library that you can load dynamically into another application.
- Use S-Function Target for Model or Subsystem
 Use a shared library generated from a model or subsystem that you can load dynamically into another application.
데이터 고려 사항
- Access Structured Data Through a Pointer That External Code Defines
 Generate code that accesses parameter data through a structure pointer that handwritten code defines.
- Import Parameter Data with Conditionally Compiled Dimension Length
 Generate code that imports an array parameter whose dimension lengths your external code sets with macros (#define).
- Reuse Parameter Data from External Code in the Generated Code
 Generate code that imports parameter data from your external code.
- Exchange Structured and Enumerated Data Between Generated and External Code
 Generate code that you can compile together with existing, external code. The bodies of code exchange structured and enumerated data.
- Exchange Data Between External C/C++ Code and Simulink Model or Generated Code
 Configure the signals, states, and parameters in a Simulink model to match the data interface of your existing C code.
- Exchange Data Between External Calling Code and Generated Code
 When you export the generated code into your external code, exchange signal, state, and parameter data.
- Replace and Rename Simulink Coder Data Types to Conform to Coding Standards
 Conform to the coding standards of your organization by replacing and renaming the Simulink Coder™ data type aliases, such asreal_T, which the generated code uses to define data.
C++ 지원
- Generate C++ Class Interface to Model or Subsystem Code
 Generate a C++ class interface to code generated from a model or subsystem.
- Generate Code for String Blocks by Using the Standard C++ String Library
 Generate C++ code for Simulink string blocks.