You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can then start the Matlab server, which will kick off your matlab session,
62
62
and create the connection between your Python interpreter and this session:
63
63
@@ -80,7 +80,7 @@ In this case, the variable `a` is available on the Python side, by using
80
80
the `get_variable` method:
81
81
82
82
mlab.get_variable('a')
83
-
83
+
84
84
You can run any MATLAB functions contained within a .m file of the
85
85
same name. For example, to call the function jk in jk.m:
86
86
@@ -121,7 +121,11 @@ Rather than `~/startup.m`, Octave looks for an `~/.octaverc` file for
121
121
commands to execute before every session. (This is a good place to manipulate
122
122
the runtime path, for example).
123
123
124
-
### Matlab magic:
124
+
Requires Version 3.8 or higher. Notice: Neither the MXE 3.8.1 nor the Cygwin 3.8.2 version is compatible on Windows. No Windows support will be available
125
+
until a working version of Octave 3.8+ with Java support is released.
126
+
127
+
128
+
### Matlab magic:
125
129
126
130
The Matlab magic allows you to use pymatbridge in the context of the IPython
127
131
notebook format.
@@ -132,7 +136,7 @@ These lines will automatically start the matlab session for you. Then, you can
132
136
simply decorate a line/cell with the '%matlab' or '%%matlab' decorator and
133
137
write matlab code:
134
138
135
-
%%matlab
139
+
%%matlab
136
140
a = linspace(0.01,6*pi,100);
137
141
plot(sin(a))
138
142
grid on
@@ -143,14 +147,21 @@ More examples are provided in the `examples` directory
143
147
144
148
## Building the pymatbridge messenger from source
145
149
146
-
The installation of `pymatbridge` includes a binary of a mex function to communicate between
147
-
Python and Matlab using the [0MQ](http://zeromq.org/) messaging library. This should work
150
+
The installation of `pymatbridge` includes a binary of a mex function to communicate between
151
+
Python and Matlab using the [0MQ](http://zeromq.org/) messaging library. This should work
148
152
without any need for compilation on most computers. However, in some cases, you might want
149
153
to build the pymatbridge messenger from source. To do so, you will need to follow the instructions below:
150
154
151
155
### Install zmq library
152
156
Please refer to the [official guide](http://zeromq.org/intro:get-the-software) on how to
153
-
build and install zmq. On Ubuntu, it is as simple as `sudo apt-get install libzmq3-dev`. After zmq is installed, make sure you can find the location where
157
+
build and install zmq. On Ubuntu, it is as simple as `sudo apt-get install libzmq3-dev`.
0 commit comments