I am writing a code for a Matlab App for the data acquisition of several sensors. The data will be put into an array which will be saved as an excel-file when using a 'Stop'- pushbutton function. Currently, I am simply using the writetable function and change the name of the table within the code after every session:
Since I have an interface, I would like to change the filename of the output excel table via a text edit field in the UI figure before starting a session. I know i can access the string of the edit field via the command 'app.DateinameEditField.Value', but how can I connect it to the writetable function?