MATLAB: How do i load database in m file

databaseImage Processing Toolbox

how do i load database in m file? so that i could match value of variable with values stored in database field? A quick reply will be really appreciated. thank you

Best Answer

You cannot meaningfully load an SQL database into a MATLAB session. What you can do is make queries against a database to retrieve the information stored there. For information about that, see https://www.mathworks.com/help/database/import-data.html
... However, it is questionable as to why you bothered to store your license plate related information in an SQL server, unless you have a lot of license plate information. containers.Map() would probably be sufficient for your purposes.