I am trying to use sparseinv (sparseinv,sparseinv_install, parseinv_test) but it gave me an error.
Show older comments
I am trying to use sparseinv (sparseinv,sparseinv_install, parseinv_test) but it gave me an error. Any help would be much appreciated.
=======================
Undefined function or variable 'sparseinv_mex'.
Error in sparseinv (line 59)
[Z takflops] = sparseinv_mex (L, d, U', Zpattern) ;
===========================
1 Comment
James Tursa
on 7 Mar 2018
Did you run sparsinv_install to compile the mex routine? The error message states that it cannot find the compiled mex routine.
Answers (3)
Mojgan Soltan
on 7 Mar 2018
Edited: Walter Roberson
on 7 Mar 2018
5 Comments
Walter Roberson
on 7 Mar 2018
Could you confirm that you are using the sparseinv from https://www.mathworks.com/matlabcentral/fileexchange/33966-sparseinv--sparse-inverse-subset ?
Walter Roberson
on 7 Mar 2018
Please do not start a new Answer to add a response. You should click on "Comment on this Answer" instead.
Walter Roberson
on 7 Mar 2018
At the command line, please command
dbtype sparseinv_install
and show us the output.
When I downloaded the code a moment ago, line 1 of sparseinv_install does not even have 50 characters.
Walter Roberson
on 7 Mar 2018
Odd, when I look at your copy of sparseinv_install I can see that it does not have 50 characters on line 1 either.
What shows up for
which -all sparseinv_install
Mojgan Soltan
on 7 Mar 2018
Edited: Mojgan Soltan
on 7 Mar 2018
Mojgan Soltan
on 7 Mar 2018
0 votes
Mojgan Soltan
on 7 Mar 2018
Edited: Walter Roberson
on 7 Mar 2018
1 Comment
Walter Roberson
on 7 Mar 2018
Please do not start a new Answer to add a response. You should click on "Comment on this Answer" instead.
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!