calling mex function from Simulink

I have a mex-fille build from C. I want to use it in Simulink but do I need to re write a S-function? I have tried to call without success a Matlab function.

Respuestas (1)

galaxy
galaxy el 6 de Dic. de 2019

0 votos

After you build mexw64 file successful, you can use S-Function block
if not, you need to build mex file by mex from S-function file.

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Versión

R13SP1

Preguntada:

el 5 de Dic. de 2019

Respondida:

el 6 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by