HAVE_FEATURE_E4ST Detect availability/version info for E4ST Feature detection function implementing 'e4st' tag for HAVE_FEATURE to detect availability/version of E4ST, the Engineering, Economic, and Environmental Electricity Simulation Tool (https://e4st.com). See also HAVE_FEATURE.
0001 function [TorF, vstr, rdate] = have_feature_e4st() 0002 %HAVE_FEATURE_E4ST Detect availability/version info for E4ST 0003 % 0004 % Feature detection function implementing 'e4st' tag for HAVE_FEATURE 0005 % to detect availability/version of E4ST, the Engineering, Economic, and 0006 % Environmental Electricity Simulation Tool (https://e4st.com). 0007 % 0008 % See also HAVE_FEATURE. 0009 0010 % MATPOWER 0011 % Copyright (c) 2004-2020, Power Systems Engineering Research Center (PSERC) 0012 % by Ray Zimmerman, PSERC Cornell 0013 % 0014 % This file is part of MATPOWER. 0015 % Covered by the 3-clause BSD License (see LICENSE file for details). 0016 % See https://matpower.org for more info. 0017 0018 TorF = exist('e4st_ver', 'file') == 2; 0019 if TorF 0020 v = e4st_ver('all'); 0021 vstr = v.Version; 0022 rdate = v.Date; 0023 else 0024 vstr = ''; 0025 rdate = ''; 0026 end