You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I wrote a small script that uses Matlab's nnmf function to factorize a large matrix (~5000 rows by 60000 columns). I generate the matrix, called V, in Julia and I use the following code to call the function: w, h, rss = mxcall(:nnmf, 3, V, 2)
Unfortunately this generates the error:
ERROR: MATLAB.MEngineError("failed to put variable jx_nnmf_arg_in_1 into MATLAB session (err = 1)")
Stacktrace:
[1] put_variable(::MSession, ::Symbol, ::Array{Float64,2}) at C:\Users\St. Elmo.julia\packages\MATLAB\SljED\src\engine.jl:153
[2] mxcall(::MSession, ::Symbol, ::Int64, ::Array{Float64,2}, ::Vararg{Any,N} where N) at C:\Users\St. Elmo.julia\packages\MATLAB\SljED\src\engine.jl:283
[3] mxcall(::Symbol, ::Int64, ::Array{Float64,2}, ::Int64) at C:\Users\St. Elmo.julia\packages\MATLAB\SljED\src\engine.jl:317
[4] top-level scope at none:0
I tried this on multiple Julia versions (6.4 and 1.0.2) to the same effect. When I run the same function with the same matrix in Matlab it works. My suspicion is that the large matrix is causing the problem. Is there a way around it?
Ps. This approach works on smaller input matrices.
The text was updated successfully, but these errors were encountered:
Hi, I wrote a small script that uses Matlab's nnmf function to factorize a large matrix (~5000 rows by 60000 columns). I generate the matrix, called V, in Julia and I use the following code to call the function:
w, h, rss = mxcall(:nnmf, 3, V, 2)
Unfortunately this generates the error:
I tried this on multiple Julia versions (6.4 and 1.0.2) to the same effect. When I run the same function with the same matrix in Matlab it works. My suspicion is that the large matrix is causing the problem. Is there a way around it?
Ps. This approach works on smaller input matrices.
The text was updated successfully, but these errors were encountered: