Dynamic-Calibration/utils/YALMIP-master/extras/@lmi/getcutflag.m

7 lines
113 B
Matlab
Executable File

function c = getcutflag(X)
X = flatten(X);
c = [];
for i = 1:length(X.clauses)
c = [c;X.clauses{i}.cut];
end