Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/database/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用matlab将矩阵保存到mysql中_Mysql_Database_Image_Matlab - Fatal编程技术网

用matlab将矩阵保存到mysql中

用matlab将矩阵保存到mysql中,mysql,database,image,matlab,Mysql,Database,Image,Matlab,大家好,我需要将matlab中的一个矩阵保存到mysql数据库中,我知道mysql使用blob来保存大的二进制数据,但是当我尝试下面的代码时,我发现了错误,有人能帮我吗 f = ones(1000,1000); insert(con,'test',{'a'},{f}); 测试是一个表,它有一个名为a的列,其类型为blob。 错误是 No method 'setBytes' with matching signature found for class 'com.mysql.jdbc.JDBC4

大家好,我需要将matlab中的一个矩阵保存到mysql数据库中,我知道mysql使用blob来保存大的二进制数据,但是当我尝试下面的代码时,我发现了错误,有人能帮我吗

f = ones(1000,1000);
insert(con,'test',{'a'},{f});
测试是一个表,它有一个名为a的列,其类型为blob。 错误是

No method 'setBytes' with matching signature found for class 'com.mysql.jdbc.JDBC4PreparedStatement'.

上面的代码会出现什么错误?我的意思是有可能做到这一点吗?我可以使用mym()来做到这一点-不幸的是,没有64位二进制文件可用-所以我不再使用它了。