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

6 visualizzazioni (ultimi 30 giorni)
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 Commento
Rik
Rik il 4 Lug 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.

Accedi per commentare.

Risposta accettata

Nikhil Baishkiyar
Nikhil Baishkiyar il 6 Lug 2023
Modificato: Nikhil Baishkiyar il 6 Lug 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

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by