Update README.md

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-21 17:30:08 +01:00 committed by GitHub
parent ef0cfa0260
commit 9dca2f7b7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)