Undefined function 'niftiread'
Ältere Kommentare anzeigen
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.


Antworten (1)
the cyclist
am 22 Nov. 2019
0 Stimmen
niftiread is a function from the Image Processing Toolbox. Do you have that toolbox installed and licensed?
4 Kommentare
Mingyu Sun
am 26 Jan. 2022
I have Image Processing Toolbox installed and licensed, but I still get this problem. I didn't have such a problem before.
Walter Roberson
am 26 Jan. 2022
Which MATLAB version are you using? niftiread() was introduced in R2017b
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
Mingyu Sun
am 26 Jan. 2022
I just solved my problem by:
rehash toolboxcache
restoredefaultpath
savepath
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!