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

카테고리

태그

질문:

2015년 3월 11일

답변:

2015년 3월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by