Azzera filtri
Azzera filtri

How to add more data points in Signal Builder?

92 visualizzazioni (ultimi 30 giorni)
b b
b b il 12 Mag 2017
Risposto: Ali Alemi il 9 Apr 2021
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

Risposte (6)

Chinmay Sharma
Chinmay Sharma il 20 Giu 2017
While hovering over the curve, use shift+click to add a data point.
  2 Commenti
Pedro Martinez
Pedro Martinez il 1 Nov 2019
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.
Clyde Webster
Clyde Webster il 17 Set 2020
I second this, this is exceptionally unintuitive...

Accedi per commentare.


Ali Alemi
Ali Alemi il 9 Apr 2021
Hold shift key. Then left-click on the signal where you want to add a point.

ES
ES il 12 Mag 2017
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 Commenti
Sonat Arslan
Sonat Arslan il 7 Ott 2017
Did you find a way to do that I'm also having trouble for doing that. :)
Nick Stockton
Nick Stockton il 9 Apr 2018
Modificato: Nick Stockton il 9 Apr 2018
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
.

Accedi per commentare.


Long Wang
Long Wang il 30 Mag 2018
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?

SATYENDRA NISHAD
SATYENDRA NISHAD il 3 Feb 2019

ES
ES il 12 Ott 2017

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by