The 'matlab.mixin' class does not support code generation.
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mike Leijten
el 4 de Oct. de 2021
Respondida: Walter Roberson
el 4 de Oct. de 2021
Hi everyone,
I have a code that runs perfectly fine in matlab. But when I try to run the same function from a Simulink function block, I get the following error:
The 'matlab.mixin' class does not support code generation.
What is going on here and is there perhaps any way around this?
Thanks very much in advance for your time ans answer.
0 comentarios
Respuesta aceptada
Walter Roberson
el 4 de Oct. de 2021
"You cannot generate code for classes that inherit from built-in MATLAB classes."
There is no work-around except to rewrite your code so that it does not inherit from matlab.mixin
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!