📄 x_2_c.tlc
字号:
%% File : x_2_c.tlc
%% Created: Sun Aug 21 19:43:29 2005
%%
%% Description:
%% Real-Time Workshop wrapper functions interface generated for
%% S-function "x_2_c.c".
%%
%% File generated by S-function Builder Block
%%
%% For more information on using the Target Language with the
%% Real-Time Workshop, see the Target Language Compiler manual
%% (under Real-Time Workshop) in the "Inlining S-Functions"
%% chapter under the section and subsection:
%% "Writing Block Target Files to Inline S-Functions",
%% "Function-Based or Wrappered Code".
%%
%implements x_2_c "C"
%% Function: BlockTypeSetup ===================================================
%%
%% Purpose:
%% Set up external references for wrapper functions in the
%% generated code.
%%
%function BlockTypeSetup(block, system) Output
%openfile externs
extern void x_2_c_Outputs_wrapper(const creal_T *x,
creal_T *y1,
creal_T *y2);
%closefile externs
%<LibCacheExtern(externs)>
%%
%endfunction
%% Function: Outputs ==========================================================
%%
%% Purpose:
%% Code generation rules for mdlOutputs function.
%%
%function Outputs(block, system) Output
/* S-Function "x_2_c_wrapper" Block: %<Name> */
%assign pu0 = LibBlockInputSignalAddr(0, "", "", 0)
%assign py0 = LibBlockOutputSignalAddr(0, "", "", 0)
%assign py1 = LibBlockOutputSignalAddr(1, "", "", 0)
%assign py_width = LibBlockOutputSignalWidth(0)
%assign pu_width = LibBlockInputSignalWidth(0)
x_2_c_Outputs_wrapper(%<pu0>, %<py0>, %<py1> );
%%
%endfunction
%% [EOF] x_2_c.tlc
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -