Problem with Matlab Compiler and .txt files
Afficher commentaires plus anciens
Hi all,
I try to create a standalone application using Matlab scripts. My application has to modify some .txt files during the process.
I succeed in creating my application but the problem is that in my .exe application, the last .txt was registered and my orders via the graphical user interface can't change the .txt file. As a consequence, my application is not effective because she keeps just one solution whereas the application is written to solve the problem decided in the graphical user interface.
Do you know why my .exe application created with Matlab Compiler doens't modify the .txt files like in my Matlab?
PS : i add those .txt files in folders to add whilde building the application.
Here my code to save in .txt files:
save fich_poids.txt B -ascii;
Thanks.
Maxime.
Réponses (1)
Kaustubha Govind
le 13 Mar 2014
0 votes
Could you try specifying the full path to fich_poids.txt and see if that helps? You can also read Path Management in Deployed Applications for more tips.
Catégories
En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!