Executable is not able to read new xls-input, while code works perfectly fine

Dear all,
For my university-internship, I am writing a code that calculates certain long-term (ecological/economical) values based on Excel input. The code works perfectly and is able to read the Excel file and is able to respond to changes in that Excel file.
Now I tried to make an executable (.exe) from my code, so that I can use it on other devices without installing a full MATLAB version. The tool works fine as well, except for one thing: The executable can ONLY read the Excel file inputs that were in the sheet at the moment of creation of the executable. So, changing values and saving the Excel does not influence the outputs anymore (the initial input values cannot be changed).
How can I make sure that the executable is able to read the new values, instead of repeating the analysis with the initial values? In other words, how can I make the executable responsive to changes in the Excel file?
I did not see this specific question on the forum yet, so I could use some help on this one.
Thanks in advance!

Answers (0)

Products

Release

R2021a

Asked:

on 7 Jun 2021

Edited:

on 7 Jun 2021

Community Treasure Hunt

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

Start Hunting!