Expected FunctionSignatures to be a non-missing string scalar or character vector.

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

 채택된 답변

Ayush Modi
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:

추가 답변 (0개)

카테고리

제품

릴리스

R2022b

질문:

2024년 5월 23일

편집:

2024년 5월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by