How to do a network program?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
Hi! I'm programing an application to communicate different areas in a classroom. The application have a database that gives the opportunity to change it according the activity that each area is doing. I'm using a .mat files, located in a server, to save and share this "databases". I know is not the best way to do it, but I don't know anything about databases, until now. I'm reading about mySQL and I think this is going to do my life so much easier. My only problem is that I don't know how to connect mySQL database with Matlab. I'd read the database help in Matlab but I have problems knowing the server name that I have to put in the function, and the location of this server. What do you recommends?
If you can help me, I'll appreciate it.
Answers (1)
Geoff
on 26 Apr 2012
0 votes
This is an answer I gave a while ago for someone wanting to interface with MySQL. Might help you get past a couple of hurdles.
The server name is the name of the computer on your network where you have installed a MySQL server.
You might not really NEED a database, depending on exactly what you're trying to do. Using shared files on a network drive might be easier to set up. But if you're already doing a database solution that's fine.
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!