Application deployment R2012a vs. R2014b

2 次查看(过去 30 天)
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 个评论
André
André 2015-5-11
Hi again,
I have been able to succesfully use R2014b 32bit.
Now thinking it might be something funny about my install of R2014b 64bit concurrently with other versions on my compiling workstation. Am trying a fresh install of R2015a 64bit and will see if that works.
Stay tuned...
André
André 2015-5-18
Resloved by doing a clean install of R2015a 64bit and R2015a 32bit on the compiling workstation. Either there was a problem with the pathname of the 64bit R2014b or a bug in R2014b which I could not detemrine.

请先登录,再进行评论。

采纳的回答

André
André 2015-5-18
This problem was resolved when I upgraded to R2015a (64bit and 32bit) on the compiling workstation. - Andre

更多回答(1 个)

Dasharath Gulvady
Dasharath Gulvady 2015-5-12
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by