how can i convert my .sql file into .mat file?

how can i convert my .sql file into .mat file?

1 Comment

Are you trying to import data generated by the SQL query in the SQL file and load the data from the cursor object into a MAT file? Can you give more details about your workflow?

Sign in to comment.

Answers (1)

@VIVEK MEHTA , I assume that the .sql file you have is a dump of table data, you should first load it into a database using tools like 'MySQL' or 'SQLite'. After loading the contents of .sql file , please follow the below article for importing data into MATLAB from MySQL® database table : https://www.mathworks.com/help/database/ug/database.mysql.connection.sqlread.html

Tags

Asked:

on 30 May 2016

Answered:

on 30 Aug 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!