I hava problem when I open exe file

8 vues (au cours des 30 derniers jours)
duna saleh
duna saleh le 21 Nov 2020
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.

Réponses (1)

colordepth
colordepth le 23 Mar 2025
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.

Catégories

En savoir plus sur Strategy & Logic dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by