我使用oct2py執行從蟒蛇的倍頻功能,我得到以下錯誤: oct2PyError: Octave evaluation error: error: binary operator '*' not implemented for 'int64 scalar' by 'complex matrix' operations 在Python中,我只是調用函數: from oct2py import oct
我使用Oct2Py爲了在我的Python代碼中使用一些M文件。比方說,我有這個簡單的Matlab的功能: function [a, b] = toto(c);
a = c;
b = c + 1;
end
,如果我把它稱爲八度會發生什麼明顯: >> [x,y] = toto(3)
x = 3
y = 4
現在,如果我把它在Python,使用oct2py: from
按照https://github.com/Calysto/octave_kernel上的說明在Windows1計算機上安裝octave_kernel,一切正常。但是,當我從Jupyter選擇Octave作爲我的內核時,會發生以下情況。 The kernel has died, and the automatic restart has failed. It is possible the kern