How to pass variables to .app standalone

1 回表示 (過去 30 日間)
Elisa Girau
Elisa Girau 2019 年 5 月 14 日
回答済み: vidhathri bhat 2019 年 5 月 22 日
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 Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by