Home > matpower7.1 > lib > have_feature_most.m

have_feature_most

PURPOSE ^

HAVE_FEATURE_MOST Detect availability/version info for MOST

SYNOPSIS ^

function [TorF, vstr, rdate] = have_feature_most()

DESCRIPTION ^

HAVE_FEATURE_MOST  Detect availability/version info for MOST

   Feature detection function implementing 'most' tag for HAVE_FEATURE
   to detect availability/version of MOST (MATPOWER Optimal Scheduling Tool).

   See also HAVE_FEATURE, MOST.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Fri 09-Oct-2020 11:21:31 by m2html © 2005