matlab coder to convert built-in function to c

1 visualización (últimos 30 días)
Sying Yong Yee
Sying Yong Yee el 5 de Dic. de 2018
Comentada: Walter Roberson el 5 de Dic. de 2018
i want to convert the lateralControlStanley function to c by using matlab coder. but it show that [matlab built-in functions and toolbox functions cannot be used as entry-point in matlab coder].
what should i do??
thank a lot.

Respuestas (1)

Walter Roberson
Walter Roberson el 5 de Dic. de 2018
Write your own function that calls that one and tell it to compile yours.
I see from the documentation in the Driving toolbox that code generation is supported for it.
  2 comentarios
Sying Yong Yee
Sying Yong Yee el 5 de Dic. de 2018
what do u mean write down my own function?
Walter Roberson
Walter Roberson el 5 de Dic. de 2018
function varargout = lcs_shim(varargin)
[varargout{1:nargout}] = lateralControlStanley(varargin{:});

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by