PLEASE HELP to convert file to .nii file

조회 수: 6 (최근 30일)
Amanda
Amanda 2021년 1월 4일
답변: Cris LaPierre 2021년 1월 5일
Hello, urgent help needed,
I was given data that was delivered to me as a zip folder, with all files compressed to .rar. After extracting and decompressing all folders, each folder has around 5-10 thousand files.
I need my fmri and mri data to be given in one of the following formats: .nii, .brk, .head, .nii.gz, .txt, .mat-file
The current filetype is simply "file"
Any ideas will help.
  댓글 수: 2
Cris LaPierre
Cris LaPierre 2021년 1월 5일
What happens if you change the extension from "file" to one of these extensions? Can you open one of the files in a text editor and determine what the actual file type is?
Consider attaching one of your files to your post using the paperclip icon.
Amanda
Amanda 2021년 1월 5일
I see what you're saying, and it may work. So how can I add an extension to all files in a folder?
(The current filetype is simply "File", and I have several hundred to several thousands of files in each folder)

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

답변 (1개)

Cris LaPierre
Cris LaPierre 2021년 1월 5일
Look into movefile, which will move or rename a file or folder
Before investing in renaming all of them, just try it out on one or two files. You can just change the extension manually as see if you can open the file in the expected program.

카테고리

Help CenterFile Exchange에서 MRI에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by