Skip to content

Commit 92b00b1

Browse files
committed
Merge pull request #436 from chrisfilo/fix/matlab_docs
fixed matlab example
2 parents 7578fb3 + fd49278 commit 92b00b1

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

doc/devel/matlab_interface_devel.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,10 @@ By subclassing **MatlabCommand** for your main class, and **MatlabInputSpec** fo
9090
Examples
9191
--------
9292

93-
>>> hello = HelloWorld(matlab_cmd = 'mymatlab')
94-
>>> hello.inputs.name = 'Monty'
95-
>>> hello.inputs.mfile = True #creates mfile
96-
>>> hello.inputs.paths = '/path/to/matlab/toolbox'
97-
>>> hello.inputs.script_file = 'helloworld_pyscript.m'
93+
>>> hello = HelloWorld()
94+
>>> hello.inputs.name = 'hello_world'
9895
>>> out = hello.run()
99-
>>> out.outputs['matlab_output']
96+
>>> print out.outputs.matlab_output
10097
"""
10198
input_spec = HelloWorldInputSpec
10299
output_spec = HelloWorldOutputSpec

0 commit comments

Comments
 (0)