Database for login application
显示 更早的评论
I want to make a login with few users,, as i read on the internet there are many methods to make a database (.mat,excel sheet,sql etc) and store user data, If anyone can provide me with details
1) What kind of a data base suitable for this application ?
2) How to do this ?
It would be a great help, thanks.
采纳的回答
更多回答(1 个)
Milindu
2012-5-27
0 个投票
3 个评论
Walter Roberson
2012-5-27
When you have any information that is being written to, it is important that only one program at a time can write to the data (and only one copy of the program.)
If you only have one sensor, then you do not have to worry, as it can only do one thing at a time. But if you have several sensors, then they might need to access the data at the same time, and then you can end up with conflicting versions of information.
Database programs such as mysql are designed to be be accessed over a network and to internally handle multiple requests to the same data. A .mat file on a shared network drive is _not_ designed to protect multiple accesses.
I cannot answer whether sql is the best choice, or if one of the other databases is better. For example, would you be willing to pay 10 times as much for a database system that executed 1/100th of a second faster?
Milindu
2012-5-28
Walter Roberson
2012-5-28
What kind of information about working with .mat files were you hoping for? You can load() .mat files and you can save() information to .mat files.
类别
在 帮助中心 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!