getlist.m

来自「matlab波形优化算法经常要用到的matlab toolbox工具箱:yalm」· M 代码 · 共 18 行

M
18
字号
function [F,strict,LMIIdentifiers] = getlist(X)
% Internal class for constraint lists

% Author Johan L鰂berg
% $Id: getlist.m,v 1.4 2007/09/12 14:28:29 joloef Exp $

superiorto('sdpvar');
superiorto('double');

F = X.Evaluated;
strict = X.strict;
LMIIdentifiers = X.ConstraintID;

% FIX : treat equalities better
if isequal(X.List{2},'==') 
    F{1}=sethackflag(F{1},3);
end

⌨️ 快捷键说明

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