How to setup buff block in trigger subsystem

조회 수: 16 (최근 30일)
alamo
alamo 2011년 6월 3일
trigger block parameters: Trigger type:function-call Sample time type:triggered
buffer block parameters: Output buffer size (per channel):256 Buffer overlap:156
err "All sample times for 'untitled/Trigger Subsystem/Buffer' must be discrete. No continuous or constant sample times are allowed"
if trigger block parameters: Trigger type:function-call Sample time type:periodic
buffer block parameters: Output buffer size (per channel):256 Buffer overlap:156
err "Port-based sample time block 'untitled/Trigger Subsystem/Buffer' has a sample time, 100, on output port 1 that does not align with the periodic sample time of function-call subsystem 'untitled/Trigger Subsystem'. Only constant (inf), inherited (-1), or periodic (1) sample times are allowed in the subsystem."
thanks
Only one buffer block in trigger subsystem Ver: MATLAB 7.11 (R2010b) Simulink 7.6 (R2010b)
  댓글 수: 3
alamo
alamo 2011년 6월 4일
My friend, many thanks for your valuable reply.
"DSP/BIOS Task" block is normally connected to the trigged subsystem block, I have a TI's DSK(c5509A), do speech recognition experiments,so putting a buffer block inside a trigged subsystem block.but I I do not know how to do,Because buffer block is necessary
alamo
alamo 2011년 6월 4일
"DSP/BIOS Task" block is normally connected to the trigged subsystem block,Can I use "Task+Enabled subsystem" instead of it

댓글을 달려면 로그인하십시오.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2011년 6월 16일
The Buffer block has port-based sample times, which are not supported inside triggered subsystems. You may need to create your own S-function that imitates the functionality of the Buffer block, while reconciling its operation within triggered subsystems.

카테고리

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