Yes, this is what i want to do but the problem is that i can't update the values each time in repeating sequence block. Actually I have like 3 values that are coming from user defined block after some calculation and the get updated after one cycle, I tried to edit the repeating sequence block so that i can input these valves it to but i am unable to do so. please help.
how to generate one signal from a vector data in simulink
4 次查看(过去 30 天)
显示 更早的评论
I am having a problem like if you have 10 data points say in a vector and you use simulink constant block it shows 10 continuous lines for this. how can i just create a one continuous waveform from it.
采纳的回答
Sebastian Castro
2016-2-25
My understanding if your question is that you want those 10 values to make up one period of a periodic waveform, right?
If so, check out the Repeating Sequence block: http://www.mathworks.com/help/simulink/slref/repeatingsequence.html
The block above generates a continuous-time signal so you have to also specify time values. There are also "Repeating Sequence Interpolated" and "Repeating Sequence Stair" blocks that may better meet your needs.
- Sebastian
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!