Skip to content

Commit e5d9852

Browse files
author
Chris Turner
committed
docs-parts/existing/1-Loading-Classes_lang1.rst: flip block to code-block:: matlab
1 parent 0bf5478 commit e5d9852

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs-parts/existing/1-Loading-Classes_lang1.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ Creating a virtual class
44

55
To facilitate working with existing pipelines, DataJoint MATLAB creates a ``TableAccessor`` property in each schema object.
66
The ``TableAccessor`` property, a *virtual class generator*, is available as ``schema.v``, and allows listing and querying of the tables defined on the server without needing to create the MATLAB table definitions locally.
7-
For example, creating a scratch ``experiment`` schema package and querying an existing ``my_experiment.Session`` table on the server can be done as follows::
7+
For example, creating a scratch ``experiment`` schema package and querying an existing ``my_experiment.Session`` table on the server can be done as follows:
88

9-
>> dj.createSchema('experiment', '/scratch', 'my_experiment')
10-
>> addpath('/scratch')
11-
>> experiment_schema = experiment.getSchema();
12-
>> experiment_schema.v.Session() & 'session_id=1234';
9+
.. code-block:: matlab
10+
11+
dj.createSchema('experiment', '/scratch', 'my_experiment')
12+
addpath('/scratch')
13+
experiment_schema = experiment.getSchema();
14+
experiment_schema.v.Session() & 'session_id=1234';
1315
1416
.. note::
1517

0 commit comments

Comments
 (0)