Clear Filters
Clear Filters

Compiling a Matlab application which uses 'batch' command (parallel computing toolbox)

8 views (last 30 days)
Hi All,
I am trying to compile (using Application Compiler) a Matlab script (X.m) which calls another script through the 'batch' command (so X.m within it has the line: batch('ANOtherScript')). However the compiled application does not work (though the X.m runs absolutely fine within the main Matlab R2015aSP1 package).
The compiled application launches okay (i.e. the initial GUI comes up) but upon pressing the button to execute X.m, a ctfxlauncher.exe shows up in the Windows 7 Task Manager but the script functionaltiy is not run.
Is there a different method of compiling code that uses the 'batch' function (or other functions within the Parallel Computing Toolbox for that matter).
Many thanks for the help!
Best regards.

Answers (0)


Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!