Skip to content

Commit fd49278

Browse files
committed
fixed matlab example
1 parent 653e967 commit fd49278

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

doc/devel/matlab_interface_devel.rst

+3-6
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)