MATLAB: Does the standalone matlab (executable) code including the parallel computing feature do not work

MATLABMATLAB CompilerParallel Computing Toolbox

The (compiled) standalone matlab code (.exe) with the parallel computing/multi-core processing feature do not work even though the matlab script (.m) perfectly executes the task.
Is this the Matlab R2011b software limitation? Is there any solution to this problem?

Best Answer

NEW ANSWER:
Turn your script into a function. This is the same issue seen here for Matlab 2011 version:
OLD ANSWER:
Seems like it's a known issue and thus you must use a workaround
gcp('nocreate')
Original Q&A here:
Related Question