problem in generating exe file while using mcc
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
Hi
i wrote a simple code where it reads two value from a sheet of excel and writes into the same file
then i created exe file by using mcc
then next time when i change values in excel file and i run the exe again it is writing the previos values.
please help me
thanks in advance
Respuestas (1)
Kojiro Saito
el 21 de Mzo. de 2019
0 votos
It might be because the excel file is included in compiled standalone exe file.
To avoid this,
- Move the excel file to a different folder (for example, desktop folder) where is not in MATLAB's path.
- Compile the m file and an exe will be created.
- Move the excel file to the same folder of the exe.
1 comentario
srinu siliveru
el 21 de Mzo. de 2019
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!