How to do a network program?
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
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.
0 个评论
回答(1 个)
Geoff
2012-4-26
0 个投票
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.
0 个评论
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!