sparse2 mexFunction not found
3 次查看(过去 30 天)
显示 更早的评论
But when I use
D = sparse2(i,j,s);
It shows error
Error using sparse2 (line 27)
sparse2 mexFunction not found
Where can 'sparse2 mexFunction' be founded?
2 个评论
James Tursa
2018-6-22
Does this package come with C/C++ source code that you need to compile yourself?
回答(1 个)
Jan
2018-6-22
Did you read the README.txt file and followed the instructions?
================================================================================
QUICK START FOR MATLAB USERS (Linux, Mac, or Windows): uncompress the
SuiteSparse.zip or SuiteSparse.tar.gz archive file (they contain the same
thing), then in the MATLAB Command Window, cd to the SuiteSparse directory and
type SuiteSparse_install. All packages will be compiled, and several demos
will be run. To run a (long!) exhaustive test, do SuiteSparse_test.
================================================================================
Was SuiteSparse_install successful? If not, which error messages did you get?
3 个评论
Jan
2019-3-4
Does this mean, that you try to run the files inside the compressed "suitesparse-5.4.0.tar" folder? Please explain with details, what you are doing.
If I get the error message "Cannot open include file: 'regex.h': No such file or directory", I'd search for this file manually at first. Which compiler are you using?
Jorge Barrasa Fano
2019-3-6
Hi Jan,
Thanks for your answer. We managed to solve it:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Software Development Tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!