Undefined function 'niftiread'

I run the matlab function in Termianl which contains the "nitifread", but it failed and showed that "Undefined function 'niftiread' for input arguments of type 'char'."
Here is my matlab function and error warning.

回答 (1 件)

the cyclist
the cyclist 2019 年 11 月 22 日

0 投票

niftiread is a function from the Image Processing Toolbox. Do you have that toolbox installed and licensed?

4 件のコメント

Mingyu Sun
Mingyu Sun 2022 年 1 月 26 日
I have Image Processing Toolbox installed and licensed, but I still get this problem. I didn't have such a problem before.
Walter Roberson
Walter Roberson 2022 年 1 月 26 日
Which MATLAB version are you using? niftiread() was introduced in R2017b
Steven Lord
Steven Lord 2022 年 1 月 26 日
According to its documentation page niftiread was introduced in Image Processing Toolbox in release R2017b. Are you using an earlier release than that? If you're not sure, check the output of version.
version
ans = '9.11.0.1847648 (R2021b) Update 2'
Mingyu Sun
Mingyu Sun 2022 年 1 月 26 日
I just solved my problem by:
rehash toolboxcache
restoredefaultpath
savepath

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

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

質問済み:

2019 年 11 月 22 日

コメント済み:

2022 年 1 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by