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

1 vue (au cours des 30 derniers jours)
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);
winopen(app.path);
Error:
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.

Réponse acceptée

Ankit
Ankit le 15 Sep 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.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by