dlmread() error After compiling.
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaire
Jan
le 1 Mai 2012
Please post the complete line and explain, if you are using relative or absolute paths.
Réponses (3)
Walter Roberson
le 1 Mai 2012
The likely reason is that your executable was not in the right directory.
0 commentaires
GO
le 1 Mai 2012
1 commentaire
Walter Roberson
le 1 Mai 2012
You are not writing along the path: you are writing to whichever directory the executable happens to be in.
Walter Roberson
le 2 Mai 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 commentaires
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!