www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@cgoptimconstraint/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. pInp = getInputs(obj); A = zeros(0,length(pInp)); b = zeros(0,1);