Application deployment R2012a vs. R2014b
Afficher commentaires plus anciens
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 commentaires
Dasharath Gulvady
le 11 Mai 2015
Modifié(e) : Dasharath Gulvady
le 11 Mai 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é
le 11 Mai 2015
André
le 11 Mai 2015
André
le 18 Mai 2015
Réponse acceptée
Plus de réponses (1)
Dasharath Gulvady
le 12 Mai 2015
0 votes
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.
Catégories
En savoir plus sur Standalone Applications dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!