Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to do a network program?

2 vues (au cours des 30 derniers jours)
Felix Golindano
Felix Golindano le 26 Avr 2012
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

Geoff
Geoff le 26 Avr 2012
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.

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by