source: MML/trunk/applications/database/mym/utilities/mycheck.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 292 bytes
Line 
1function[on] = mycheck
2% MYCHECK   Show status of MySQL connection
3% INPUTS  : None
4% OUTPUTS : ON, logical, 1 if a connection is open, 0 if not
5% EXAMPLE : mycheck
6% AUTHOR  : Dimitri Shvorob, dimitri.shvorob@vanderbilt.edu, 8/7/06
7if ~mym('status')
8   on = true;
9else
10   on = false;
11end   
Note: See TracBrowser for help on using the repository browser.