How to generate matlab code in a simulink block

Hello,
I didn't find any solutions to generate randomly a ternary sequence, so, I get an idea. Generate a ternary sequence with matlab code (easy with rand), and put it in a simulink block for simulation. It is possible ?
Thanks for any response.
Regards

Categorías

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

Etiquetas

Preguntada:

el 11 de Mzo. de 2015

Respondida:

el 11 de Mzo. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by