How to pass variables to .app standalone

2 次查看(过去 30 天)
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.

回答(1 个)

vidhathri bhat
vidhathri bhat 2019-5-22
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

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by