dlmread() error After compiling.
5 次查看(过去 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!