Error "The speci​fied key i​s not pres​ent in thi​s containe​r" when using Matlab Coder

When I tried to use Matlab Coder to convert m to c,in the process of verifying mex file, I came across the error message "The specified key is not present in this container". The algorithm itself can work very well, therefore, I think there may be something wrong in other aspect. In fact, I don't understand the error message at all. Why am I getting this error message? How can I resolve this issue? Thank you in advance!

댓글 수: 1

When you find the problem, please, send me a messages because I have the same problem!

댓글을 달려면 로그인하십시오.

 채택된 답변

Leonard Lee
Leonard Lee 2016년 4월 2일
Hey, i am the host of this question, and maybe i should give the way through which i solved this problem. In my original algorithm, i used the Parallel Computing Toolbox,when i cancelled the toolbox, no error message like this occurred.

댓글 수: 2

Thanks! I ran into that issue and was thinking that was the issue since it always happened when the parallel pool was initiated. Glad you confirmed it :)
i do not use this toolbox and this message appear for me while making SIL(software in the loop) using target link so please if u find a solution let me know

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

제품

질문:

2016년 3월 24일

댓글:

2017년 10월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by