.exe standalone application from MATLAB, error with publish function

I am building an .exe file from MATLAB by using
mcc -m myFile.m -a ./*
In myFile I call the inbuilt MATLAB function 'publish'. When I run the myFile.exe I get the error message
Undefined function or variable " publish"
I hope you can help me with my Problem.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 26 Feb 2016

Commented:

on 26 Feb 2016

Community Treasure Hunt

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

Start Hunting!