Can you use command prompt to input a nifti file?

조회 수: 5 (최근 30일)
chloe
chloe 2025년 4월 28일
답변: Walter Roberson 2025년 4월 29일
I want to create a sort of GUI to ask user to input a file, I have found that input() only works with singel numbers.
Is there a function that allows you to input full images/ volumes?

답변 (1개)

Walter Roberson
Walter Roberson 2025년 4월 29일
See uigetfile to prompt for the file name.
After you have the file name, you would need to take appropriate importing steps, such as imread()
If you are dealing with volumes then you might consider instead using uigetdir together with medicalVolume

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by