How to add more data points in Signal Builder?
89 次查看(过去 30 天)
显示 更早的评论
Hello, I want to create a signal in Simulink manually. I came across the Signal Builder block but I cannot figure out how to add more data points so that I can drag the points to create a signal of different amplitudes. There is not much information about this block in Help nor the manual. Could anybody please show me how to do that? Thanks
0 个评论
回答(6 个)
Chinmay Sharma
2017-6-20
While hovering over the curve, use shift+click to add a data point.
2 个评论
Pedro Martinez
2019-11-1
Thanks. How did you know?
I wish that information was at least shown on the help.
Ideally, there should be the options of "Add point" and "Delete Point" in the right-click pop-up menu.
Ali Alemi
2021-4-9
Hold shift key. Then left-click on the signal where you want to add a point.
0 个评论
ES
2017-5-12
You can define the signal in excel and import it into signal builder (using File->import from file). This is by far the easiest way.
3 个评论
Nick Stockton
2018-4-9
编辑:Nick Stockton
2018-4-9
I just came across this feature today. You can specify a time column and a data column in excel as follows for your case:
0 0
0.01 0
0.01 6
0.015 6
0.015 0
0.017 0
0.017 -3
0.02 -3
0.02 0
0.05 0
Then, using the Signal Builder block, import the data and everything should be as expected
.
Long Wang
2018-5-30
Thanks for all, it helps me a lot. Actually from the help comment of signal builder, there war no such info. I am wondering, how you figure out this kind of features?
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!