Info

此问题已关闭。 请重新打开它进行编辑或回答。

Output file failed to be updated after running standalone executable file

1 次查看(过去 30 天)
Hi all,
I have compiled an AutomatedIteration.exe file from my .m code using the Matlab deploytool. The reference files include 3 input files (2 .csv and 1 .xlsx) and 1 output file (.csv).
The compilation was successful. However, when I tried to run AutomatedIteration.exe file, it fails to update the output file. When I export my data after calling .exe for 10 times, it gives me 10 row of exactly same output values (10 different input values).
I found out that the code was successfully run because apart from generating output.csv, i also have two figures. And the figures all seem normal for each iteration.
Does anyone have any clue of what's going on here?
Thanks a lot!
Ying
  1 个评论
Walter Roberson
Walter Roberson 2013-3-13
What is AutomatedIteration ?
What is there in your code that would run differently between different runs? Is it possible that your output from one run needs to become your input to the next run? If so then you need to code to detect that output file and use it as input, or you need to copy that output into the input for the next run.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by