Created
February 25, 2013 12:18
-
-
Save apleonhardt/5029473 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
% Set up our new object locally: | |
my_object = gnode.new_object(g, 'analogsignal', 'name', 'My shiny new object', ... | |
't_start', struct('units', 'ms', 'data', 0), ... | |
'sampling_rate', struct('units', 'Hz', 'data', 10000), ... | |
'signal', struct('units', 'mV', 'data', [10 10.2]); | |
% Create and upload: | |
my_new_object = gnode.get_created(g, my_object); | |
% Share with others: | |
gnode.share(g, my_new_object, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment