필터 지우기
필터 지우기

Problems with saving a dat. file!

조회 수: 2 (최근 30일)
Nikolai
Nikolai 2014년 6월 20일
댓글: Image Analyst 2014년 6월 23일
Hi everybody!
I have a problem with a saved dat. file! This is my code:
punkte_sort (:,3) = 0;
save ('myfolder\Bohrergeometrie.dat','punkte_sort')
punkte_ sort is a spreadsheet with xand y coordinates. The third column is the z-coordinate!
I would like to import a .dat file into Siemens NX 8.5 but the programme does not accept the file! I also tried to generate a .txt file but it is not my wished result! Does somebody have an idea what the problem is?
I created an .xlsx file and it worked! I got all my correct information... unfortunately NX cannot work with an excel file!
Thank you for your help
niko9310

채택된 답변

Image Analyst
Image Analyst 2014년 6월 20일
Well you just zeroed out your z values. Anyway, try dlmwrite() or csvwrite() and see if NX likes that. Otherwise find out what format NX can take and make the file in that format.
  댓글 수: 1
Image Analyst
Image Analyst 2014년 6월 23일
Nikolai's "Answer" moved here:
Thank you for your help! ;) I will try it tomorrow!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by