Undefined function 'niftiread'

17 vues (au cours des 30 derniers jours)
Yunruo Ni
Yunruo Ni le 22 Nov 2019
Commenté : Mingyu Sun le 26 Jan 2022
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.

Réponses (1)

the cyclist
the cyclist le 22 Nov 2019
niftiread is a function from the Image Processing Toolbox. Do you have that toolbox installed and licensed?
  4 commentaires
Steven Lord
Steven Lord le 26 Jan 2022
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 le 26 Jan 2022
I just solved my problem by:
rehash toolboxcache
restoredefaultpath
savepath

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by