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!