Naming and using signals within block parameters?
이전 댓글 표시
Hi, is there any way to take the output of a simple calculation in Simulink, and then use it in the parameter block of a pulse generator? For example, using a constant block, the user can enter the desired frequency in Hz. Using a divide block, the time period is calculated by dividing 1 by this frequency (t = 1/f). Is there any way to name the output signal of this divide block so that in the pulse generator, for the period parameter I can simply type the name of this signal so that if the user changes the frequency, the period parameter of the pulse generator will change automatically also?
Cheers.
답변 (1개)
Azzi Abdelmalek
2014년 12월 14일
0 개 추천
You can do it by creating your own pulse generator, using for example Matlab Function Block or others blocks like switchs.
카테고리
도움말 센터 및 File Exchange에서 Sources에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!