So, here is my setup:
- I have an application with a GUI written in Matlab (2011b 64 bits).
- Relevant ? this application calls a dll written in c++ compiled by VC10 and nvcc (cuda compiler).
- I configure Matlab to compile with VC10 when running "mbuild -setup".
- I compile this application with the Matlab Compiler toolbox using default settings. The compilation line is:
mcc -o ICEM -W main:ICEM -T link:exe -d C:\Users\Ernest\Documents\Matlab\icem\ICEM\src -w enable:specified_file_mismatch -w enable:repeated_file -w enable:switch_ignored -w enable:missing_lib_sentinel -w enable:demo_license -v C:\Users\Ernest\Documents\Matlab\icem\Main.m
To be clear, the problem is not the time my application takes to start. It takes much time to start because it has to load MCR, I am aware of it. The problem occurs during the execution of some display function that involve some calculation, all along the execution of my application, and I don't understand how/why it can be slower.
Do you have an idea where this could come from ?