Rank: 493 based on 137 downloads (last 30 days) and 1 file submitted
photo

Robert Almgren

E-mail
Company/University
University of Toronto

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Robert
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Oct 2005 MySQL Database Connector Connect to MySQL database. Author: Robert Almgren database, connector, data import, data export, mysql, connect 137 37
  • 4.77273
4.8 | 24 ratings
Comments and Ratings on Robert's Files View all
Updated File Comment by Comments Rating
16 Nov 2011 MySQL Database Connector Connect to MySQL database. Author: Robert Almgren Kenji

Thank you for your advise.

I reffered to external link and other explanations and could connect MySQL in Matlab.

These works is really useful!

15 Nov 2011 MySQL Database Connector Connect to MySQL database. Author: Robert Almgren Zimmermann, Uwe

yes, it is troublesome to get this working!

First of all, the external link is no longer valid. The correct link is now http://www.cims.nyu.edu/~almgren/mysql/ (why doesn't Mathworks provide a permanent webspace for such contributions?)

Secondly as pointed out by others, the package cannot be compiled using the Mathlab compiler!

Under Windows install the free MS Visual C++ Express from http://www.microsoft.com/visualstudio/en-us/products/2010-editions/express

You also need the MySQL connector library package (libmysql) from http://www.mysql.com/downloads/connector/

Then, finally you can compile the package and get it to run!!!

Uwe.

P.S.: I think there should be a trouble-free built-in access to MySQL and other databases in Matlab!

01 Nov 2011 MySQL Database Connector Connect to MySQL database. Author: Robert Almgren Kenji

Thank you for great information anytime.
I wanna interact with MySQL database(MDB) from MATLAB.
Examples)
・Input or output data by accessing the MDB from MATLAB.

I have some question.

Are these thinking correct ?

Question.
1. What is function of 'mysql.m' and 'mysql.cpp' .
2. How to use these files.

About 1.
I guess that contents of these files are "how to access the MDB from Matlab".
・mysql.m shows how to describe source of Accessing the MDB.
・I couldn't understand function of mysql.cpp.

If my idea is incorrect, please tell me intuitively.

About 2.
・Only confirm syntax of source description using mysql.m.
    thus mysql.m is comment file.
・What is purpose of running mysql.cpp?

Please teach me correct opinion to my question.

[MATLAB:R2011b OS:Windows 7]

27 Aug 2011 MySQL Database Connector Connect to MySQL database. Author: Robert Almgren yang, yang

Obviously this file works great and received excellent review. But I can't even get it work. I downloaded "all the files", including 'mysql.m' and 'mysql.cpp' and included them in the path. When I type in mysql('open',...,...,...), i got the message basically saying that this is a script instead a function. Can anyone give me a clue what is going on here?

13 Jul 2011 MySQL Database Connector Connect to MySQL database. Author: Robert Almgren Robert

Everything works great. I was wondering if there is a way to avoid giving an output for each column of data. I have 137 columns and individually writing out [A(:,1),A(:,2),...,A(:,137)] seems pointless. Suggestions?

Top Tags Applied by Robert
connect, connector, data, data export, data import
Files Tagged by Robert
Updated   File Tags Downloads
(last 30 days)
Comments Rating
10 Oct 2005 MySQL Database Connector Connect to MySQL database. Author: Robert Almgren database, connector, data import, data export, mysql, connect 137 37
  • 4.77273
4.8 | 24 ratings

Contact us at files@mathworks.com