I hava problem when I open exe file

2 visualizaciones (últimos 30 días)
duna saleh
duna saleh el 21 de Nov. de 2020
Respondida: colordepth el 23 de Mzo. de 2025
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.

Respuestas (1)

colordepth
colordepth el 23 de Mzo. de 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.

Categorías

Más información sobre Strategy & Logic en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by