Problem with Matlab Compiler and .txt files
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Kaustubha Govind
on 13 Mar 2014
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.
0 Comments
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!