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

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

Initial import--MML version from SOLEIL@2013

File size: 357 bytes
Line 
1function[names] = dblist
2% DBLIST    List available MySQL databases
3% INPUTS  : None
4% OUTPUTS : NAMES - list of database names, (m x 1) cell array
5% EXAMPLE : dblist
6% AUTHOR  : Dimitri Shvorob, dimitri.shvorob@vanderbilt.edu, 7/7/06
7if ~mycheck
8   error('No MySQL instance detected. Use MYOPEN to connect.')
9else
10   names = mym('show databases');
11end   
Note: See TracBrowser for help on using the repository browser.