Urgency is a matter of relative nature. But Going through your post got your point. Apologies for the misclassifcation of problem.
Problems in running deployed tool
8 views (last 30 days)
Show older comments
I have compiled a matlab program and built it as a package with 64 bit matlab runtime compiler. when i run the tool (Matlab runtime compiler not installed) the tool pulls data from MySQL server but does not show the plot(output) that is supposed to come in a separate window. Then I installed the 32 bit 7.17 r2012a matlab compiler. still the tool wont give output. is the problem not having the 64 bit runtime compiler installed. But whenever I try to run the set up package of the runtime compiler 64 bit, either the progress stops at 2% or 52%. I am using a i7 machine with 8 gb ram. OS is win 7 ultimate. Is there any specific bug known that causes the issue?
Accepted Answer
Abhishek Ray
on 26 Feb 2013
1 Comment
owr
on 26 Feb 2013
Good find, this has come up before with egcitest:
I still think a pragma that could be included in code to identify MAT files that need to be included at deploy time would be a good addition to the language.
More Answers (1)
Walter Roberson
on 1 Feb 2013
You need MCR for the same number of bits (32 vs 64) as you compiled with.
Is your Windows 7 Ultimate machine running in 32 bit or 64 bit mode? If it is in 32 bit mode then you would not be able to run the 64 bit executable on it.
You can load the 32 bit MATLAB (and MATLAB Compiler) on the same machine that currently has the 64 bit MATLAB, and use the 32 bit version to compile the executable.
It could be that the first difficulty you describe has to do with something else not being installed. You should load Dependency Walker from the 'net and use that on the 64 bit compiled version.
4 Comments
Walter Roberson
on 22 Feb 2013
That log looks okay.
How are you doing the plotting in the real program?
Have you tried tossing in some disp() statements in your program in order to narrow down how far the program is getting? For example is it even reaching the plotting commands?
Are there any places in your code where you call a function (ode45 for example) and pass in the name of the function as a quoted string instead of as a function handle?
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!