www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@coninputfactor/p_EnsureRows.m

    function cif = p_EnsureRows(cif)
%P_ENSUREROWS Ensure all elements of the CONINPUTFACTOR are rows
%
%  CIF = P_ENSUREROWS(CIF)
%
%  Typically used after some operation that may have change the shape of the
%  elements of the CONINPUTFACTOR.
%
%  See also CONBASE, CONINPUTFACTOR.

%  Copyright 2004-2005 The MathWorks, Inc.

cif.Name   = cif.Name(:).';
cif.Symbol = cif.Symbol(:).';
cif.Unit   = cif.Unit(:).';
cif.Min    = cif.Min(:).';
cif.Max    = cif.Max(:).';

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|