Why type data "long blob" in mysql read as "int8" in data explorer MATLAB?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am trying to select data in MySQL JDBC in MATLAB. One of the columns (file_data) in the table has the type "longblob". The content of the file_data is data:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192324/image.png)
The two first line are header, and the remain rows are data.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192326/image.png)
But why when I try to preview the database in database explorer in MATLAB, it should be blob, but it showed "int8".
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/192328/image.png)
1. Can anyone help me to solve this? so that I can get the data type longblob in MATLAB using the data in MySQL? 2. if the column "file_data" already successful change to longblob, how to read it as a table, so make me possible to process the data?
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Database Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!