Absolute path for image to run in excutable standalone MATLAB application
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi all
I have this portion of my program :
app.Image3 = uiimage(app.TeDIKWESEARDIUIFigure);
app.Image3.HorizontalAlignment = 'right';
app.Image3.Position = [941 669 50 50];
app.Image3.ImageSource = 'UX.png';
I want to deploy this program to a standalone application . How can I add the UX.png file to the application so that it can show the image if runing on any other computer
In java , I know it is like this : ImageIcon(getClass().getClassLoader().getResource("icons/UX.png"));
UX.png is added to the icons folder, then icons folder is added to the package.
But , how to this in MATLAB ?
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Compiler en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!