dlmread() error After compiling.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Jan
el 1 de Mayo de 2012
Please post the complete line and explain, if you are using relative or absolute paths.
Respuestas (3)
Walter Roberson
el 1 de Mayo de 2012
The likely reason is that your executable was not in the right directory.
0 comentarios
GO
el 1 de Mayo de 2012
1 comentario
Walter Roberson
el 1 de Mayo de 2012
You are not writing along the path: you are writing to whichever directory the executable happens to be in.
Walter Roberson
el 2 de Mayo de 2012
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 comentarios
Ver también
Categorías
Más información sobre Spreadsheets en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!