CheckMyM - Make sure mym is installed and functional. Connectivity to MySQL database server depends on mym. Make sure this is installed and functional. USAGE CheckMyM
0001 %CheckMyM - Make sure mym is installed and functional. 0002 % 0003 % Connectivity to MySQL database server depends on mym. Make sure 0004 % this is installed and functional. 0005 % 0006 % USAGE 0007 % 0008 % CheckMyM 0009 0010 % Copyright (C) 2007-2010 by Michaƫl Zugaro 0011 % 0012 % This program is free software; you can redistribute it and/or modify 0013 % it under the terms of the GNU General Public License as published by 0014 % the Free Software Foundation; either version 3 of the License, or 0015 % (at your option) any later version. 0016 0017 function CheckMyM 0018 0019 if isempty(which('mym')), 0020 error('FMAToolbox:CheckMyM:MissingMyM','This function requires the <a href="http://sourceforge.net/projects/mym/">mYm</a> toolbox by Y. Maret.\nTo compile it, you will need to install MySQL, zlib and the corresponding header files. Assuming\nthe libraries are in /usr/lib, and the headers are in /usr/include/mysql and /usr/include, type:\n\n >> mex -v -I/usr/include/mysql -I/usr/include -L/usr/lib -lz -lmysqlclient mym.cpp'); 0021 end