Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.rst #181

Merged
merged 1 commit into from
Mar 1, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ To run .m function, you need to explicitly add the path to .m file using:

.. code-block:: python

>>> from oct2py import import octave
>>> from oct2py import octave
>>> # to add a folder use:
>>> octave.addpath('/path/to/directory')
>>> # to add folder with all subfolder in it use:
>>> octave.addpath(octave.genpath('/path/to/directory'))
>>> # to run the .m file :
>>> octave.run('fileName.m')
...

To get the output of .m file after setting the path, use:
Expand Down