HAVE_FEATURE_LU_VEC Detect availability/version info for LU vector support Feature detection function implementing 'lu_vec' tag for HAVE_FEATURE to detect support for LU(..., 'vector') syntax. See also HAVE_FEATURE, LU.
0001 function [TorF, vstr, rdate] = have_feature_lu_vec() 0002 %HAVE_FEATURE_LU_VEC Detect availability/version info for LU vector support 0003 % 0004 % Feature detection function implementing 'lu_vec' tag for HAVE_FEATURE 0005 % to detect support for LU(..., 'vector') syntax. 0006 % 0007 % See also HAVE_FEATURE, LU. 0008 0009 % MIPS 0010 % Copyright (c) 2004-2020, Power Systems Engineering Research Center (PSERC) 0011 % by Ray Zimmerman, PSERC Cornell 0012 % 0013 % This file is part of MIPS. 0014 % Covered by the 3-clause BSD License (see LICENSE file for details). 0015 % See https://github.com/MATPOWER/mips for more info. 0016 0017 vstr = ''; 0018 rdate = ''; 0019 if have_feature('matlab') && have_feature('matlab', 'vnum') < 7.003 0020 TorF = 0; %% lu(..., 'vector') syntax not supported 0021 else 0022 TorF = 1; 0023 end