NeurodataWithoutBorders / matnwb

A Matlab interface for reading and writing NWB files
BSD 2-Clause "Simplified" License
49 stars 32 forks source link

Function to read all names of objects inside nwb.acquisition #500

Closed GoktugAlkan closed 1 year ago

GoktugAlkan commented 1 year ago

Hello,

I converted a large dataset to nwb and there are multiple ElectricalSeries objects inside nwb.acquisition. Each object has a unique name.

I am wondering if there is a function that returns a list of the names of the objects inside nwb.acquisition. Is there such a function?

Many thanks in advance!

GoktugAlkan commented 1 year ago

I figured out one possibility: you can use keys(nwb.acquisition).

bendichter commented 1 year ago

@GoktugAlkan that seems like the best approach to me. OK to close?

GoktugAlkan commented 1 year ago

Yes, can be closed. Thanks!