Matlab Compiler not updating text file

I have a simple text file that I have been including in previous compiled versions of my Matlab program. I recently had to update this text file with addtional text and recompile a new version of the program. However, every time I try to recompile, the compiled installer contains the old version of the text file. I have tried moving the text file to a different location, re-saving the text file, etc then re-compiling. Nothing seems to work. It seems as if Matlab and/or Windows keeps the old text file in some archived state and reverts back to the old version even though the new installer should contain the new one. Any ideas?
Edit: I've tried this with Matlab 2016a and Matlab 2019a and the appropriate compilers. Still seeing the same issue.

Respuestas (1)

Jeremy Hughes
Jeremy Hughes el 8 de Jun. de 2019

0 votos

There may be another text file with the same name on your path. Try, which -all <filename>.

1 comentario

Thanks for the suggestion - but that's not the case.
which config.txt -all
returned the proper file

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Compiler en Centro de ayuda y File Exchange.

Productos

Versión

R2019a

Preguntada:

el 2 de Jun. de 2019

Comentada:

el 9 de Jun. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by