Undefined function 'publish' for input arguments of type 'struct' [MATLAB APP Standalone]

3 visualizaciones (últimos 30 días)
I am facing the below mentioned error when I am using Standalone application created for MATLAB App. It works fine when I run my MATLAB app.
Following piece of code i have written
options.format = 'html';
options.createThumbnail = false;
options.showCode = false;
options.evalCode = true;
options.useNewFigure = false;
options.catchError = true;
options.outputDir = subdir;
app.path = publish('report.mlx',options);
Undefined function 'publish' for input arguments of type 'struct'.
Error in appdesigner.internal.service.AppManagementService/tryCallback (line 181)
Error in matlab.apps.AppBase>@(source,event)tryCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event) (line 37)
Error using matlab.ui.internal.controller.WebMenuController/fireActionEvent (line 67)
Error while evaluating Menu Callback.

Respuesta aceptada

Ankit el 15 de Sept. de 2022
I found out in the following link .exe aus MATLAB code, "publish" function nicht erk - Mein MATLAB Forum - goMatlab.de that MATLAB compiler doesn't support 'publish' function.

Más respuestas (0)


Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.




Community Treasure Hunt

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

Start Hunting!

Translated by