SuiteSparse Installation: Cannot open include file: 'regex.h'

22 ビュー (過去 30 日間)
Dylan Zaluski
Dylan Zaluski 2018 年 10 月 19 日
I am having issues installing SuiteSparse in Matlab. I am using the 5.3 version, downloaded from, and using the Visual Studio 2017 C++ compiler. When I run SuiteSparse_install, I get the following error:
c:\users\dylan\documents\school\masters\suitesparse\metis-5.1.0\gklib\GKlib.h(68): fatal error C1083: Cannot open include file: 'regex.h': No such file or directory
And UMFPACK, KLU, CHOLMOD, SuiteSparseQR fail to install. Has anyone got any experience with this, or could point me in the right direction for assistance? I need the sparse2 and spqr functions for my code, as I have a very large over-determined, sparse system to solve, and it is giving Matlab's mldivide a rough time. Thanks!
  4 件のコメント
Humberto Brambila de Salles
Humberto Brambila de Salles 2020 年 9 月 22 日
Dylan, you are the real MVP! I've been trying this for so long! Thank you so much!!


回答 (1 件)

Royi Avital
Royi Avital 2019 年 4 月 25 日
編集済み: Royi Avital 2020 年 5 月 16 日
Why would you need SuiteSparse in MATLAB?
I though MATLAB uses SuiteSparse to begin with.
  6 件のコメント
Royi Avital
Royi Avital 2020 年 5 月 31 日
Dylan, MATLAB uses SuiteSparse for QR of Sprase Matrices to begin with (It's built in). It also uses MKL for BLAS things. Could you show a sample code you get improvement from?



Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by