How can I programmatically delete a group (test case) from a signalbuilder?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dimitar Dimitrov
il 23 Lug 2019
Commentato: Fangjun Jiang
il 24 Lug 2019
I wish to delete a single group from a signalbuilder, via MATLAB scripting.
I tried via sigbuilder function with 'dataSetDelete' method, but unsuccessfully.
I am using MATLAB 2016b.
0 Commenti
Risposta accettata
Fangjun Jiang
il 23 Lug 2019
doc signalbuilder
Create Signal Builder Block and Delete Group
Create a Signal Builder block with two signal groups and delete one of the groups.
block = signalbuilder([], 'create', [0 2], {[0 1],[1 0]});
The Signal Builder block has two groups, each of which contains a signal. :
To delete the second group, also delete its signal.
signalbuilder(block, 'set', 1, 2, [], [])
4 Commenti
Fangjun Jiang
il 24 Lug 2019
block = signalbuilder([], 'create', repmat({[0 2]},2,2), repmat({[0 1]},2,2));
signalbuilder(block, 'set', 1:2, 2,[],[])
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!