필터 지우기
필터 지우기

sparse2 mexFunction not found

조회 수: 4 (최근 30일)
JAI PRAKASH
JAI PRAKASH 2018년 6월 21일
댓글: Jorge Barrasa Fano 2019년 3월 6일
I downloaded sparse2.m form SuiteSparse .
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
James Tursa 2018년 6월 22일
Does this package come with C/C++ source code that you need to compile yourself?
JAI PRAKASH
JAI PRAKASH 2018년 6월 22일
It has some C files. Please have a look on the files it has.

댓글을 달려면 로그인하십시오.

답변 (1개)

Jan
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
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
Jorge Barrasa Fano 2019년 3월 6일

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by