Undefined function 'niftiread'

조회 수: 3 (최근 30일)
Yunruo Ni
Yunruo Ni 2019년 11월 22일
댓글: Mingyu Sun 2022년 1월 26일
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일
niftiread is a function from the Image Processing Toolbox. Do you have that toolbox installed and licensed?
  댓글 수: 4
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by