I have a code that uses the sparsfun function, but when I run the code I get the following error:
Error using sparsfun
Unknown command option.
I try to get help on that function, but it does not exist and when I use the which function I get:
which('sparsfun')
built-in (undocumented) % char method
Does anyone know about this function?

 採用された回答

Walter Roberson
Walter Roberson 2018 年 9 月 26 日

1 投票

There is not even a single reference to sparsfun in the R2018b code in any .m in any of the toolboxes I have access to (many, but not all.)
It appears it was a routine that was used in the past to implement some of the sparse matrix operations.
There are a couple of commands documented for it in http://www.netlib.org/linalg/colamd/colamd_demo.m
The brief description from https://hwiegman.home.xs4all.nl/matlab4/sparsfun_m.htm also references nnz
It looks like matlab.internal.math.getOrSetSPPARMS() has replaced at least some of the uses.

1 件のコメント

4lrdyD
4lrdyD 2018 年 9 月 27 日
thanks a lot!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSparse Matrices についてさらに検索

製品

質問済み:

2018 年 9 月 26 日

コメント済み:

2018 年 9 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by