From: Punamchandra on
I want to append a signal to a signal builder block through Matlab script.
With the all the combinations of the command the signals are not appended.

block = signalbuilder([], 'create', [0 5], {[2 2];[0 2]});
signalbuilder(block, 'append', [0 5], [0 2]);

Please advice.
From: checker i on
"Punamchandra " <pckul(a)yahoo.com> wrote in message <h9005l$k97$1(a)fred.mathworks.com>...
> I want to append a signal to a signal builder block through Matlab script.
> With the all the combinations of the command the signals are not appended.
>
> block = signalbuilder([], 'create', [0 5], {[2 2];[0 2]});
> signalbuilder(block, 'append', [0 5], [0 2]);
>
> Please advice.
Since you are creating a block with two signals, the append statement should have the same number of data rows as the signal number.
Try this instead
signalbuilder(block, 'append', [0 5], {[2 2];[0 2]});