⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setfieldindexnumbers.m

📁 WCDMA model in symulink model in matlab
💻 M
字号:
function setfieldindexnumbers(block)%SETFIELDINDEXNUMBERS Set index numbers in the callers workspace.%%   The field numbers will have the same name (and case) as the mask variable %   names, BUT they will have their first initial capitalized and preceded %   by 'idx'. For example a Dialog variable 'fooBar' creates an index                    %   called 'idxFooBar'                                                         %   Copyright 1996-2001 The MathWorks, Inc.%   $Revision: 1.3 $  $Date: 2001/04/05 04:47:27 $    evalStr1 = '';       MN = get_param(block,'MaskNames');    for n=1:length(MN)        varName  = [upper(MN{n}(1)) MN{n}(2:end)];        evalStr1 = [evalStr1 sprintf('idx%s = %d;', varName, n)];    end;        evalin('caller',evalStr1);return;

⌨️ 快捷键说明

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