x_2_c.tlc
来自「用simlink开发的space-time coding仿真模型,仿真的精度与效」· TLC 代码 · 共 61 行
TLC
61 行
%% 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 + =
减小字号Ctrl + -
显示快捷键?