I can't call Publish function used MATLAB library compiler from Java
9 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Steven Lord
on 2 Jun 2021
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.
See Also
Categories
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!