How to implement a Matlab System Object with varying input and output sample rates?
조회 수: 5 (최근 30일)
이전 댓글 표시
I was trying to create a System Object that I would run as a component in Simulink.
I wanted to have a different input rate and output rate. For example the input would be at 100kHz and output would be at 20kHz. I am not sure how to implement this using stepImpl. Is there a way to do this implementation?
Also as a follow up, is there a way to do variable output rate? For example the output would change between 50kHz and 20kHz based on some internal logic of the system object?
댓글 수: 0
답변 (1개)
BhaTTa
2025년 4월 23일
please refer to: https://www.mathworks.com/matlabcentral/answers/1619385
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!