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 CenterFile Exchange에서 Develop 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