필터 지우기
필터 지우기

converted vtk files are not seen

조회 수: 4 (최근 30일)
Chathu
Chathu 2016년 4월 19일
댓글: Chathu 2016년 4월 22일
I was trying to convert my 3d mat files to .vtk format using the code showed inside the below link
For example,i was first trying to convert one mat file to .vtk file. So before the code begins this is what i typed:
filename='P3290321.mat';
matrix=size('P3290321.mat');
Output: no errors , but nothing is written either.(i am certain this code works well when looking at the comments, but i don't know what mistake i am doing here)
I wonder what happened to my converted .vtk files? Can anyone kindly guide me to overcome this issue.

채택된 답변

Walter Roberson
Walter Roberson 2016년 4월 19일
size('P3290321.mat') means to take size() of the string 'P3290321.mat' which is a 1 x 12 char array.
If you want to use data inside of P3290321.mat then you need to load() the file and access the appropriate loaded variable.
  댓글 수: 12
Walter Roberson
Walter Roberson 2016년 4월 21일
VTK does seem to be mentioned for VolView, and as it is open source it appears to be worth a try.
Chathu
Chathu 2016년 4월 22일
Alright Walter:) Thank you soo much for your kindest support. Really appreciate it.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by