Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

problem in generating exe file while using mcc

조회 수: 1 (최근 30일)
srinu siliveru
srinu siliveru 2019년 3월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
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

답변 (1개)

Kojiro Saito
Kojiro Saito 2019년 3월 21일
It might be because the excel file is included in compiled standalone exe file.
To avoid this,
  1. Move the excel file to a different folder (for example, desktop folder) where is not in MATLAB's path.
  2. Compile the m file and an exe will be created.
  3. Move the excel file to the same folder of the exe.
  댓글 수: 1
srinu siliveru
srinu siliveru 2019년 3월 21일
i'll give a shot
thanks
srinu

이 질문은 마감되었습니다.

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by