📄 cgirblk_s0_b5_blockoutputsignal.tlc
字号:
%implements cgirblk_s0_b5_BlockOutputSignal "C"
%function BlockOutputSignal(block,system,portIdx,ucv,lcv,idx,retType) void
%if retType == "Signal"
%switch portIdx
%case 0
%return "((1.0 - %<LibBlockInputSignal(0, "", "", 0)> * %<LibBlockInputSignal(0, "", "", 0)>) * %<LibBlockInputSignal(1, "", "", 0)> * %<SLibCGIRBlockParameter(0, "", "", 0)> - %<LibBlockInputSignal(0, "", "", 0)>)"
%default
%assign errTxt = "No expression on port %<portIdx>"
%<LibBlockReportError(block,errTxt)>
%endswitch
%else
%endif
%endfunction
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -