How to pass variables to .app standalone

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)

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

Asked:

on 14 May 2019

Answered:

on 22 May 2019

Community Treasure Hunt

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

Start Hunting!