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

10 次查看(过去 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
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 CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by