Update README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
ef0cfa0260
commit
9dca2f7b7c
1 changed files with 2 additions and 0 deletions
|
@ -178,6 +178,7 @@ np.save("test_2.npy", a)
|
|||
|
||||
And under Matlab we load it:
|
||||
|
||||
```matlab
|
||||
>> a_np = py.numpy.load("test_2.npy");
|
||||
>> a = double(a_np);
|
||||
>> whos
|
||||
|
@ -185,6 +186,7 @@ And under Matlab we load it:
|
|||
|
||||
a 100x10 8000 double
|
||||
a_np 1x1 8 py.numpy.ndarray
|
||||
```
|
||||
|
||||
## References
|
||||
* [Access Python Modules from MATLAB - Getting Started](https://de.mathworks.com/help/matlab/matlab_external/create-object-from-python-class.html)
|
||||
|
|
Loading…
Reference in a new issue