dlmread() error After compiling.
조회 수: 11 (최근 30일)
이전 댓글 표시
hi
I made a program. it works with no problems when i run it on matlab windows.
However, once i try executing filename.exe after compiling m-files using mcc -m filename.m. it doesn't works.
I found the problem that is about dlmread(). this instruction can not read the 'csv'file, but i could read the 'csv' file on matlab windows as i ran it.
I don't understand why it doesn't work after compiling, because it works with no problem as i run on matlab windows.
if you guys know this problem could you tell me the reason???
Thank You.
댓글 수: 1
Jan
2012년 5월 1일
Please post the complete line and explain, if you are using relative or absolute paths.
답변 (3개)
Walter Roberson
2012년 5월 1일
The likely reason is that your executable was not in the right directory.
댓글 수: 0
GO
2012년 5월 1일
댓글 수: 1
Walter Roberson
2012년 5월 1일
You are not writing along the path: you are writing to whichever directory the executable happens to be in.
Walter Roberson
2012년 5월 2일
Your existing question is still here and still active, and is waiting for your response. Please do not open duplicate questions; it leads to confusion and split efforts. Your duplicate question has been deleted.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!