MATLAB Answers

help on simulink input

2 views (last 30 days)
i am encountering a simple problem that i want to remove the first input and i want to only connect slider as input.plzz help
SIMULINK FILE CAN EASILY BE OBTAINED FROM FOLLOWING MATHWORKS LINK
https://in.mathworks.com/help/supportpkg/rtlsdrradio/ug/spectral-analysis-with-rtl-sdr-radio.html;jsessionid=6a5e3e8b3cf8083d4d8a2587a119

  0 Comments

Sign in to comment.

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 20 Oct 2020
You don't remove the Constant block. You "Connect" the Slider to the Constant block.
Double click the Slider, Drag the Constant block to the window, click "Connect".
set the simulation time to be "inf" and run simulation, move the slider and you will see the Constant block value changing.
If still not getting it, double click Slider, click "Help".

  2 Comments

ali hassan
ali hassan on 20 Oct 2020
i understood your point but where is the window
Fangjun Jiang
Fangjun Jiang on 20 Oct 2020
Follow the Help document to connect the block.

Sign in to comment.

More Answers (0)

Categories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by