Application deployment R2012a vs. R2014b
Mostrar comentarios más antiguos
I am attempting to update from R2012a to R2014b but have been unable to get 64bit stand-alone Windows applications to show anything other than the splashscreen for R2014b compiled code.
Here is the (simple) function
function deploytest
n = 1000;
v = zeros(1,n);
h = waitbar(0,'Please wait...');
for i=1:n,
v(1,i) = rand;
waitbar(i/n,h)
end
plot(v)
Compiled using "deploytool" from the MATLAB command line and then respective GUI/APP in 2012a and 2014b. Compiled on the same 64bit Windows workstation. No problems apparent in creation of executables. Transfer files by USB thumb drive as the deployed workstation is not on a network. Both MCR versions are installed on the deployed workstation. Runs just fine in 2012a.
Any ideas on what I am doing incorrectly or what I might be missing? - Andre Weinstock
4 comentarios
Dasharath Gulvady
el 11 de Mayo de 2015
Editada: Dasharath Gulvady
el 11 de Mayo de 2015
I deployed your sample code with R2014b, and it runs fine for me.
1. Check if R2014b MATLAB Compiler Runtime(MCR) location has been added to Windows PATH, just like R2012a(MCR).
2. Is this issue reproducible for any application? Try with the following:
function deploytest
disp('Hello World');
end
3. Does the compiled application run fine on the machine where the standalone application was built?
André
el 11 de Mayo de 2015
André
el 11 de Mayo de 2015
André
el 18 de Mayo de 2015
Respuesta aceptada
Más respuestas (1)
Dasharath Gulvady
el 12 de Mayo de 2015
0 votos
Check if "C:\Program Files\MATLAB\MATLAB Compiler Runtime\v84\runtime\win64" is added in Windows PATH environment variable. If it is present, make sure it is above all the other releases.
The best way to analyze such issues is by using Process Monitor.
Categorías
Más información sobre Standalone Applications en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!