Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Output file failed to be updated after running standalone executable file

1 Ansicht (letzte 30 Tage)
Ying
Ying am 13 Mär. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
Walter Roberson
Walter Roberson am 13 Mär. 2013
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.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by