Main Content

S-Function Builder를 사용하여 C/C++ 코드 구현하기

S-Function을 자동으로 만들어 Simulink® 블록에서 C/C++ 코드 구현

S-Function Builder는 제공된 사양을 사용하여 C/C++ 코드를 자동으로 통합하는 Simulink 블록입니다. S-Function Builder는 S-Function을 사용하는 모델에 생성된 S-Function에 대한 래퍼 역할도 합니다.

블록

S-Function BuilderC 또는 C++ 코드를 통합하여 S-Function 생성

함수

모두 확장

Simulink.SFunctionBuilder.addAdd input, output, parameter, library item, or state to S-Function Builder block
Simulink.SFunctionBuilder.updateUpdate attributes for input port, output port, or parameter of S-Function Builder block
Simulink.SFunctionBuilder.deleteRemove input, output, parameter, library item, or state from S-Function Builder block
Simulink.SFunctionBuilder.setBuildOptionsSet build options for S-Function Builder block
Simulink.SFunctionBuilder.setSettingsSet settings for S-Function Builder block
Simulink.SFunctionBuilder.setSFunctionNameSet name of S-function for S-Function Builder block
Simulink.SFunctionBuilder.setTargetLanguageSet language for S-function generated using S-Function Builder block
Simulink.SFunctionBuilder.setUserCodeSet code for methods of S-function generated using S-Function Builder block
Simulink.SFunctionBuilder.listList inputs, outputs, parameters, library items, and states for S-Function Builder block
Simulink.SFunctionBuilder.getBuildOptionsGet build options for S-Function Builder block
Simulink.SFunctionBuilder.getSettingsGet settings for S-Function Builder block
Simulink.SFunctionBuilder.getSFunctionNameGet name of S-function generated by S-Function Builder block
Simulink.SFunctionBuilder.getTargetLanguageGet language for S-function generated using S-Function Builder block
Simulink.SFunctionBuilder.getUserCodeGet code for method of S-function generated using S-Function Builder block
Simulink.SFunctionBuilder.buildBuild S-function and generate MEX file for S-Function Builder block
Simulink.SFunctionBuilder.generateCodeOnlyBuild S-function without generating MEX file for S-Function Builder block