How to pass variables to .app standalone

1 view (last 30 days)
Elisa Girau
Elisa Girau on 14 May 2019
Answered: vidhathri bhat on 22 May 2019
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:
system('open -a myApp')
but I don't know how to pass a variable to it.

Answers (1)

vidhathri bhat
vidhathri bhat on 22 May 2019
Hi
You can check out this matlab Answers question and see if it helps you.
Also you can take a look at KeyInject function to see if you can use that.
cheers

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!