Expected FunctionSignatures to be a non-missing string scalar or character vector.
4 次查看(过去 30 天)
显示 更早的评论
Hello. I am getting the following error and cannot solve it:
Expected FunctionSignatures to be a non-missing string scalar or character vector.
Which is produced from running the following:
compiler.build.productionServerArchive(templates, ArchiveName=archive_name, FunctionSignatures=function_signatures);
Where templates is:
{'C:\Users\cgreff\AppData\Local\Temp\matlab\st…'} {'C:\Users\cgreff\AppData\Local\Temp\matlab\st…'} {'C:\Users\cgreff\AppData\Local\Temp\matlab\fe…'}
And where function_signatures is:
{'C:\Users\cgreff\AppData\Local\Temp\matlab\st…'} {'C:\Users\cgreff\AppData\Local\Temp\matlab\st…'} {'C:\Users\cgreff\AppData\Local\Temp\matlab\fe…'}
Any help would be greatly appreciated
0 个评论
采纳的回答
Ayush Modi
2024-5-23
编辑:Ayush Modi
2024-5-23
Hi Chandler,
"productionServerArchive" function expects FunctionSignatures parameter to be character vector or string scalar. Here is the syntax to add FunctionSignatures parameter:
'FunctionSignatures','<path>\<filename>.json' % Path to a single json file is accepted
Refer to the following MathWorks documentation for more information on:
productionServerArchive function: https://www.mathworks.com/help/compiler_sdk/mps_dev_test/compiler.build.productionserverarchive.html#
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 JSON Format 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!