Database for login application
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (1)
Milindu
am 27 Mai 2012
0 Stimmen
3 Kommentare
Walter Roberson
am 27 Mai 2012
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
am 28 Mai 2012
Walter Roberson
am 28 Mai 2012
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.
Kategorien
Mehr zu Database Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!