TO WORKSPACE FROM MATLAB
Show older comments
Hi,
I have a vector V=[1 2 2 1 2 1 2 1] in the workspace and I have to transfer in Simulink as a signal.
By using the block "from Workspace", I get a continue signal and not a dicretize one (as in the figure below)

Does someone know how to obtain the discretized value in simulink? I mean the signal with 1 and 2, that will enter a switch block
Accepted Answer
More Answers (0)
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!