dgleich / matlab-bgl

A graph library for Matlab based on the boost graph library
http://dgleich.github.com/matlab-bgl
110 stars 70 forks source link

inplace function error #19

Open maysamansari opened 8 years ago

maysamansari commented 8 years ago

Hello Dear Thanks a lot for previous guidance and response. When I run function that use inplace, I see below error please guide me to solve that: [d dt pred] = bfs_in_mbgl_efficient(A,1); Undefined function or variable 'inplace'.

Error in ipdouble (line 9) ip = inplace(a);

Error in bfs_in_mbgl_efficient (line 13) ip_d = ipdouble(-ones(num_vertices(A),1));

Best regard

dgleich commented 8 years ago

What version of Matlab are you using?

Have you placed MatlabBGL on your path?

maysamansari commented 8 years ago

Hello Dear Thanks a lot for responce My Matlab version is 2015a on 64 bit Windows 10 enterprise Package path is H:\thesis\simulation\matlab_bgl

Best regard

On Thu, Jan 21, 2016 at 10:15 PM, David Gleich notifications@github.com wrote:

What version of Matlab are you using?

Have you placed MatlabBGL on your path?

— Reply to this email directly or view it on GitHub https://github.com/dgleich/matlab-bgl/issues/19#issuecomment-173670715.

dgleich commented 8 years ago

What happens if you run

cd H:\thesis\simulation\matlab_bgl
a = inplace(ones(5));
maysamansari commented 8 years ago

Hello Dear

addpath H:\thesis\simulation\matlab_bgl cd H:\thesis\simulation\matlab_bgl a = inplace(ones(5)); Undefined function or variable 'inplace'.

On Fri, Jan 22, 2016 at 6:04 AM, David Gleich notifications@github.com wrote:

What happens if you run

cd H:\thesis\simulation\matlab_bgl a = inplace(ones(5));

— Reply to this email directly or view it on GitHub https://github.com/dgleich/matlab-bgl/issues/19#issuecomment-173783263.

dgleich commented 8 years ago

Hmm... not sure, I don't have a version of 2015. So I can't test.

Do you need inplace? It isn't essential.