I try to append signals to a Signal Builder block as given in the following documentation page in Simulink 7.2 (R2008b):
web([docroot '/toolbox/simulink/slref/signalbuilder_cmd.html'])
I executed the following code:
block = signalbuilder([], 'create', [0 5], {[2 2];[0 2]});signalbuilder(block, 'set', 2, 1, [0 5], [2 0])signalbuilder(block, 'set', 1, 1, [], [])signalbuilder(block, 'append', [0 2.5 5], [0 2 0]);
I get the following error message:
??? Cell contents reference from a non-cell array object. Error in ==> signalbuilder at 410sigbuilder('cmdApi', 'append', blockH, time, data, sigLabels, groupLabels);
Best Answer