我正在练习从python调用matlab函数,并得到了这个错误,我似乎不知道如何修复。问题: TypeError:不支持*=的操作数类型:'double‘和'int’import matlab.enginedims *= 5 // here is the problem
我可以假设ones返回一个double,而5是int,这将
我正在尝试读取流数据,并将数据分发到网格文件中以进行最终绘图。我有一个用于处理的MATLAB代码,它成功地工作了。我需要这个代码被转移到Python,但我是一个初学者。数据文件(共100mb左右):
%% Read Grid grid file is used as a guide for the positon where data is putplot (squeeze(xx1(2,:,1)));
h = pcolor(XX, YY, sque