I hava problem when I open exe file

조회 수: 8 (최근 30일)
duna saleh
duna saleh 2020년 11월 21일
답변: colordepth 2025년 3월 23일
I do my app disgner in 2020b matlap
and when I send exe file to matlap 2016 It does not open
;(
Error using app5
'matlab.ui.control.Image' is not a valid class name.
Error in app5App/startApp (line 63)
obj.AppHandle = eval('app5');
Error in app5App (line 40)
startApp(obj)
Error in appinstall.internal.runapp>execute (line 78)
out = evalin('caller', [script ';']);
Error in appinstall.internal.runapp>runapp13a (line 57)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));
Error in appinstall.internal.runapp>runcorrectversion (line 36)
appobj = runapp13a(appinstalldir);
Error in appinstall.internal.runapp (line 18)
out = runcorrectversion(appmetadata, appentrypoint, addonmetadatadir);
Error using app5
'matlab.ui.control.Image' is not a valid class name.
Error in app5App/startApp (line 63)
obj.AppHandle = eval('app5');
Error in app5App (line 40)
startApp(obj)
Error in appinstall.internal.runapp>execute (line 78)
out = evalin('caller', [script ';']);
Error in appinstall.internal.runapp>runapp13a (line 57)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));
Error in appinstall.internal.runapp>runcorrectversion (line 36)
appobj = runapp13a(appinstalldir);
Error in appinstall.internal.runapp (line 18)
out = runcorrectversion(appmetadata, appentrypoint, addonmetadatadir);
Error using app5
'matlab.ui.control.Image' is not a valid class name.
Error in app5App/startApp (line 63)
obj.AppHandle = eval('app5');
Error in app5App (line 40)
startApp(obj)
Error in appinstall.internal.runapp>execute (line 78)
out = evalin('caller', [script ';']);
Error in appinstall.internal.runapp>runapp13a (line 57)
outobj = execute(fullfile(appinstalldir, [wrapperfile 'App.m']));
Error in appinstall.internal.runapp>runcorrectversion (line 36)
appobj = runapp13a(appinstalldir);
Error in appinstall.internal.runapp (line 18)
out = runcorrectversion(appmetadata, appentrypoint, addonmetadatadir);
Warning: Division by zero when processing GPSLatitude. The value has been set to NaN.
Warning: Division by zero when processing GPSLongitude. The value has been set to NaN.

답변 (1개)

colordepth
colordepth 2025년 3월 23일
Image components were introduced in MATLAB R2019a and are not available in R2018b or earlier versions. To address this issue, open your application in MATLAB R2020b and use the "Save Copy As" feature to save it in a format compatible with your target MATLAB version.
For detailed instructions, please refer to the following documentation for "Compatibility Between Different Releases of App Designer": https://www.mathworks.com/help/matlab/creating_guis/compatibility-between-different-releases-of-app-designer.html.

카테고리

Help CenterFile Exchange에서 Strategy & Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by