I created a standalone application for MacOS (myApp.app). I want to run it from my matlab code (not from terminal), but I need to be able to give it a variable as an input to the function for it to work.
So far I managed to get the .app to run with this command:
but I don't know how to pass a variable to it.