How to generate matlab code in a simulink block
Show older comments
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
Answers (1)
Sebastian Castro
on 11 Mar 2015
0 votes
Sure you can, with the MATLAB Function block:
- Sebastian
Categories
Find more on Simulink Coder in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!