Borrar filtros
Borrar filtros

How to use your own code in simulink

1 visualización (últimos 30 días)
Hashem Burki
Hashem Burki el 26 de Mayo de 2011
i have a code and i want to add it to my simulink mode. How can i do it?

Respuestas (4)

Walter Roberson
Walter Roberson el 26 de Mayo de 2011

Kaustubha Govind
Kaustubha Govind el 28 de Nov. de 2011
See Comparison of Custom Block Functionality for a comparison of the various available techniques.

Arnaud Miege
Arnaud Miege el 26 de Mayo de 2011
Is this MATLAB code you're talking about? You can use the MATLAB Function block in R2011a (called Embedded MATLAB Function block in previous releases). Depending on what your code does, you may need to re-architecture it slightly to make it compliant with the function supported for code generation or to delcare some functions as extrinsic functions).
HTH,
Arnaud

ssq
ssq el 28 de Nov. de 2011
use embedded matlab function block and if want to port it on fpga then use xilinx block sets and block name is M_code

Categorías

Más información sobre Computer Vision with Simulink 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