www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgpointconstraint/getLinearForm.m
function [A, b] = getLinearForm(obj) %GETLINEARFORM Get the linear form of a constraint % % [A, B] = GETLINEARFORM(OBJ) returns the A and b matrices for the linear % constraints that this constraint object implements. % Copyright 2005 The MathWorks, Inc. if isvalid(obj.ConExpression) [A,b] = getlinearform(obj.ConExpression.info); else [A,b] = getLinearForm(obj.cgoptimconstraint); end