Documentation Center

  • Trial Software
  • Product Updates
라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

Run app programmatically



example runs the custom app specified by the unique identifier, appid.


expand all

Run Previously Installed App

Assume you installed two apps, PlotData and setslider. Run PlotData programmatically, using its ID.

Get IDs of all installed apps.

ID                      Name
-------------------     ----------------
setsliderAPP            setslider
PlotDataAPP             PlotData

Run PlotData.'PlotDataAPP')

Input Arguments

expand all

appid — ID of custom appstring

ID of custom app you want to run, specified as a string.

Example: 'DataExplorationAPP'

More About

expand all


  • The ID of a custom app is returned when you install it. You can use matlab.apputil.getInstalledAppInfo to get the ID after you have installed an app.

  • When a custom app runs, MATLAB® adds any folders it needs to have added to the path, as identified when the app was packaged. When the app exits, MATLAB removes those folders from the path.

  • You can run multiple, different custom apps concurrently. However, you cannot run two instances of the same app concurrently.

See Also

| |

Was this topic helpful?