我正在尝试创建用于构建报告的matlab可执行文件。
我的职能是
function custom_report( FilePath )
report('MyReport.rpt', ['-o' FilePath],'-fpdf') ;
但尝试构建此独立可执行文件(exe文件)时出现deploytool retrun错误。
这个问题的原因是什么?
附:我将'MyReport.rpt'文件附加到deploytool项目,因此可能不是原因。
% Deploytool Build Errors:
Error C:\Algo\customreport\src\customreport_main.c: 16 syntax error; found `__MCC_customreport_component_data' expecting `;'
Error C:\Algo\customreport\src\customreport_main.c: 103 left operand of . has incompatible type `int'
Error C:\Algo\customreport\src\customreport_main.c: 103 operands of = have illegal types `int' and `pointer to char'
Error C:\Algo\customreport\src\customreport_main.c: 117 left operand of . has incompatible type `int'
Error C:\Algo\customreport\src\customreport_main.c: 117 type error in argument 1 to `mclInitializeApplication_proxy'; found `int' expected `pointer to pointer to const char'
Error C:\Algo\customreport\src\customreport_main.c: 118 left operand of . has incompatible type `int'