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 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