I am trying to use sparseinv (sparseinv,sparseinv_install, parseinv_test) but it gave me an error.
    7 views (last 30 days)
  
       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
				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: 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.
See Also
Categories
				Find more on Matrix Indexing 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!