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

4 visualizaciones (últimos 30 días)
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!

Respuesta aceptada

Leonard Lee
Leonard Lee el 2 de Abr. de 2016
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 comentarios
Joshua Frechem
Joshua Frechem el 18 de Nov. de 2016
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 :)
samah ali
samah ali el 19 de Oct. de 2017
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by