dlmread() error After compiling.
Ältere Kommentare anzeigen
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 Kommentar
Jan
am 1 Mai 2012
Please post the complete line and explain, if you are using relative or absolute paths.
Antworten (3)
Walter Roberson
am 1 Mai 2012
0 Stimmen
The likely reason is that your executable was not in the right directory.
GO
am 1 Mai 2012
1 Kommentar
Walter Roberson
am 1 Mai 2012
You are not writing along the path: you are writing to whichever directory the executable happens to be in.
Walter Roberson
am 2 Mai 2012
0 Stimmen
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.
Kategorien
Mehr zu Spreadsheets finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!