Filter löschen
Filter löschen

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

10 Ansichten (letzte 30 Tage)
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 Kommentar
Rik
Rik am 4 Jul. 2023
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Nikhil Baishkiyar
Nikhil Baishkiyar am 6 Jul. 2023
Bearbeitet: Nikhil Baishkiyar am 6 Jul. 2023
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

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by