putoutvarclear2.m

来自「基于matlab中的simulink搭建的雷达信号处理仿真平台」· M 代码 · 共 66 行

M
66
字号
%PUTOUTVARCLEAR2  Clear the variables variables corresponding to "inVar1" and "inVar2" and puts the output variable "outVar1" to the next Simulink block.%%--------%Synopsis:%  putoutvarclear2%%Description:%  This is a MATLAB script that clears the variables variables corresponding %  to "inVar1" and "inVar2" and puts the output variable "outVar1" to the %  next Simulink block.%%Input:%  outVar1 (Arbitrary data type): %  paramNoIn1, paramNoIn2, paramNoIn3 (IntScalarT):%%Output:%  sys (IntScalarT):%  %Global Variables:%  ['pipeVar',num2str(paramNoIn1)] (Arbitrary data type): %  ['pipeVar',num2str(sys)] (Arbitrary data type): % %--------%Notations:%  Data type names are shown in parentheses and they start with a capital%  letter and end with a capital T. Data type definitions can be found in [1]%  or by "help dbtdata".%  [D] = This parameter can be omitted and then a default value is used.%  When the [D]-input parameter is not the last used in the call, it must be%  given the value [], i.e. an empty matrix.%  ... = There can be more parameters. They are explained under respective%  metod or choice.%%Examples:%%Software Quality:%  (About what is done to ascertain software quality. What tests are done.)%%Known Bugs:%%References:%  [1]: Bj鰎klund S.: "DBT, A MATLAB Toolbox for Radar Signal Processing.%    Reference Guide", FOA-D--9x-00xxx-408--SE, To be published.%%See Also:%   *  DBT, A Matlab Toolbox for Radar Signal Processing  *% (c) FOA 1994-99. See the file dbtright.m for copyright notice.%%  Start        : 991106 Svante Bj鰎klund (svabj).%  Latest change: $Date: 2000/10/01 11:53:03 $ $Author: svabj $.%  $Revision: 1.3 $% *****************************************************************************  dbtwarning('Using putoutvarclear2.')  eval(['clear global pipeVar',num2str(paramNoIn1)])  eval(['clear global pipeVar',num2str(paramNoIn2)])  paramNoOut1 = getparamno;  eval(['global pipeVar',num2str(paramNoOut1)])  eval(['pipeVar',num2str(paramNoOut1),' = outVar1;'])  sys = paramNoOut1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?