I have a code that deals with mixed integer linear programming and creates an array based on measurements from site survey and some constraints and objective function that I supplied to it. At the begining, I supply the code with an array like this:
EV = [2 0 -2 2 1 -4 5 2 2 2 8 0 4 10 10 10 4 6 8 2 14 10 8 4 6 8 -2 -4 12 16 4 -4 3 0]';
Now this changes from site to site, it is a track geometry (measured versines) and this is example of one such survey. My code creates a second array with design versines that tells me what the track should look like to be optimized.
Now if I was to work in MATLAB only, it would be easy to simply change the EV array whenever we have a new survey and let the code calculate the design versine for different sites. However, I compiled my MATLAB code into Standalone Application so people without MATLAB can use it on their computers. Now is there a way I can create a .txt or .csv. or .xlsx file where they can write EV (data from their surveys) and the application will take the input from this file?
So far, when I compile my code, the input is always what it was at the point of compiling the software and i can't seem to find a way to change this.
Any help would be appreciated!