help on simulink input
1 view (last 30 days)
Show older comments
ali hassan
on 20 Oct 2020
Commented: Fangjun Jiang
on 20 Oct 2020
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![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/386518/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/386518/image.png)
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
Accepted Answer
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
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!