This is no longer maintained and has been superseded by datajoint-company/datajoint-docs. Please file new issues there (or help contribute!). We are currently migrating and generating new content until December 2022 after which we’ll be decomissioning and in favor of

Virtual Modules

Virtual modules provide a way to access the classes corresponding to tables in a DataJoint schema without having to create local files.

A TableAccessor object is created as a property of a schema during each schema’s creation. This property is named schema.v, for virtual class generator. The TableAccessor v itself has properties that refer to the tables of the schema. For example, one can access the Session table using schema.v.Session with no need for any Session class to exist in MATLAB. Tab completion of table names is possible because the table names are added as dynamic properties of TableAccessor.

Talk to the Community