I can't call Publish function used MATLAB library compiler from Java

7 次查看(过去 30 天)
Hey guys, I'm using MATLAB custom functions in Java. and I was good until last week.
But, I saw something message meaning "Not found" like. It's a publish function.
Do you know MATLAB Runtime or Develop kit are not supported the publish function in the other languages?
function t = custpub(reporting_mfile,generating_path)
t = publish(reporting_mfile,"format","pdf","outputDir",generating_path,'showCode',false,'useNewFigure',false);
end

回答(1 个)

Steven Lord
Steven Lord 2021-6-2
The publish function is on the list of functions that are not supported for deployment using MATLAB Compiler or MATLAB Compiler SDK. If you have a license for it consider MATLAB Report Generator which is listed on the MATLAB Compiler supported products page as having command line functionality being supported with MATLAB Compiler.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by