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

Kategorien

Mehr zu Simulink Coder finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 11 Mär. 2015

Beantwortet:

am 11 Mär. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by