Migrate app made with matlab r2022b to r2017a, undefined function : 'getRunningApp'

6 ビュー (過去 30 日間)
Hi,
I made an app thanks to app designer with matlab 2022b, I need my app to work with the runtime r2017a version. Therefore I tried to compile the app with matlab R2017a then ran the app but I am getting this error :
Undefined function 'getRunningApp'
What could I do to make the app work in this previous version of matlab ? I guess I could try to make the app with matlab R2017a but it would be really time-consuming. Is there not a way to do the conversion app designer to GUIDE ?
Thank you for your help,
  1 件のコメント
Rik
Rik 2023 年 7 月 4 日
You should really avoid GUIDE. I can understand if you want a function-based GUI, but GUIDE is a bad idea. For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
If I recall correctly, you can export your AppDesigner app to code. Then you can find where this function is used and how you can replace it.

サインインしてコメントする。

採用された回答

Nikhil Baishkiyar
Nikhil Baishkiyar 2023 年 7 月 6 日
編集済み: Nikhil Baishkiyar 2023 年 7 月 6 日
To enable editing of newer apps in a previous release, save the app in the release-specific format. Select Save > Save Copy As from any of the tabs in the toolstrip. Then you can save a copy of the app in the version you are using.
You can read the documentation about compatibilities in app designer here: Compatibility Between Different Releases of App Designer

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by