How to write to variable in simulink
이전 댓글 표시
Hi
Is there anyway I can write to a variable in simulink and use in for example a gain block.
For example, if I have a clock source block, I would like to write the time generated by clock, to a variable "t", and use that variable in a gain block as gain(1/t). I am having some difficulty in doing it, but was just thinking that there must be a way to do it.
Regards Adam
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!