Using iteration block on multi-rate system

조회 수: 1 (최근 30일)
Clay Robertson
Clay Robertson 2017년 4월 19일
편집: Co Melissant 2017년 4월 20일
I was provided a system composed of multiple subsystems operating at different sampling rates. Because my simulation runs at 100 Hz and the provided multi-rate subsystem runs at 200 Hz (composed of s-functions that I cannot alter) I want to loop the entire subsystem twice in order to incorporate the subsystem.
The error I'm receiving is "Only constant (inf) or inherited (-1) sample times are allowed in iterator subsystems".

채택된 답변

Co Melissant
Co Melissant 2017년 4월 20일
편집: Co Melissant 2017년 4월 20일
Issue related to (hard-coded?) sample time of the S-function I guess.
Can't you just increase the sample rate of the input signal(s) to the subsystem using a rate transition block ?
Co

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by