Created
February 25, 2013 12:05
-
-
Save apleonhardt/5029389 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Retrieve a specific segment: | |
my_segment = gnode.get(g, 'segment_4'); | |
my_segment.name % My segment | |
my_segment.description % A segment containing things | |
my_segment.analogsignal_set % {'analogsignal_1', 'analogsignal_3', 'analogsignal_432'} | |
% Get associated signals: | |
my_signals = gnode.get_all(g, my_segment.analogsignal_set); | |
figure; | |
plot(my_signals{1}.signal.data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment