Comments (5)
Thanks for reporting! I'd never tested it with complex data-types. It's too
bad that it doesn't just work. We are working on a rather extensive
refactor of the pymatbridge, so once things settle, we can see if we can't
find a good solution for this. Preferably pass the variables around via
IPC, rather than the current solution that uses the file-system (the error
is coming from the underlying HDF5 file library implementing that).
On Sun, Jan 19, 2014 at 11:03 AM, Chilichiller [email protected]:
Trying to use the magic syntax with a variable transfer of a complex
matrix using
%%matlab -o Y
gives the following error:the HDF5 class H5T_COMPOUND is not supported yet
The leaf will become an UnImplemented node.The workaround of storing the real and imaginary part in Matlab, transfer
them and combine them later in python works, but is a little cumbersome to
do. (I guess this is more a feature request than a bug.)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/38
.
from python-matlab-bridge.
I just checked the HDF5 File created in the tmp-folder. It gets written fine from Matlab, but PyTables cannot open the Matlab-style complex HDF5 file. The package h5py can read this kind of data and could be used instead of PyTables for the task. I will try to implement this for me if not too hard.
Martin
Am 20.01.2014 um 01:01 schrieb Ariel Rokem [email protected]:
Thanks for reporting! I'd never tested it with complex data-types. It's too
bad that it doesn't just work. We are working on a rather extensive
refactor of the pymatbridge, so once things settle, we can see if we can't
find a good solution for this. Preferably pass the variables around via
IPC, rather than the current solution that uses the file-system (the error
is coming from the underlying HDF5 file library implementing that).On Sun, Jan 19, 2014 at 11:03 AM, Chilichiller [email protected]:
Trying to use the magic syntax with a variable transfer of a complex
matrix using
%%matlab -o Y
gives the following error:the HDF5 class H5T_COMPOUND is not supported yet
The leaf will become an UnImplemented node.The workaround of storing the real and imaginary part in Matlab, transfer
them and combine them later in python works, but is a little cumbersome to
do. (I guess this is more a feature request than a bug.)—
Reply to this email directly or view it on GitHubhttps://github.com//issues/38
.—
Reply to this email directly or view it on GitHub.
from python-matlab-bridge.
Great. Thanks so much for looking into this! Please do submit a pull
request against my master if you find a good solution.
On Sun, Jan 19, 2014 at 4:48 PM, Chilichiller [email protected]:
I just checked the HDF5 File created in the tmp-folder. It gets written
fine from Matlab, but PyTables cannot open the Matlab-style complex HDF5
file. The package h5py can read this kind of data and could be used instead
of PyTables for the task. I will try to implement this for me if not too
hard.Martin
Am 20.01.2014 um 01:01 schrieb Ariel Rokem [email protected]:
Thanks for reporting! I'd never tested it with complex data-types. It's
too
bad that it doesn't just work. We are working on a rather extensive
refactor of the pymatbridge, so once things settle, we can see if we
can't
find a good solution for this. Preferably pass the variables around via
IPC, rather than the current solution that uses the file-system (the
error
is coming from the underlying HDF5 file library implementing that).On Sun, Jan 19, 2014 at 11:03 AM, Chilichiller [email protected]:
Trying to use the magic syntax with a variable transfer of a complex
matrix using
%%matlab -o Y
gives the following error:the HDF5 class H5T_COMPOUND is not supported yet
The leaf will become an UnImplemented node.The workaround of storing the real and imaginary part in Matlab,
transfer
them and combine them later in python works, but is a little
cumbersome to
do. (I guess this is more a feature request than a bug.)—
Reply to this email directly or view it on GitHub<
https://github.com/arokem/python-matlab-bridge/issues/38>
.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-32727938
.
from python-matlab-bridge.
I will let you know, if I succeed.
Am 20.01.2014 um 01:50 schrieb Ariel Rokem [email protected]:
Great. Thanks so much for looking into this! Please do submit a pull
request against my master if you find a good solution.On Sun, Jan 19, 2014 at 4:48 PM, Chilichiller [email protected]:
I just checked the HDF5 File created in the tmp-folder. It gets written
fine from Matlab, but PyTables cannot open the Matlab-style complex HDF5
file. The package h5py can read this kind of data and could be used instead
of PyTables for the task. I will try to implement this for me if not too
hard.Martin
Am 20.01.2014 um 01:01 schrieb Ariel Rokem [email protected]:
Thanks for reporting! I'd never tested it with complex data-types. It's
too
bad that it doesn't just work. We are working on a rather extensive
refactor of the pymatbridge, so once things settle, we can see if we
can't
find a good solution for this. Preferably pass the variables around via
IPC, rather than the current solution that uses the file-system (the
error
is coming from the underlying HDF5 file library implementing that).On Sun, Jan 19, 2014 at 11:03 AM, Chilichiller [email protected]:
Trying to use the magic syntax with a variable transfer of a complex
matrix using
%%matlab -o Y
gives the following error:the HDF5 class H5T_COMPOUND is not supported yet
The leaf will become an UnImplemented node.The workaround of storing the real and imaginary part in Matlab,
transfer
them and combine them later in python works, but is a little
cumbersome to
do. (I guess this is more a feature request than a bug.)—
Reply to this email directly or view it on GitHub<
https://github.com/arokem/python-matlab-bridge/issues/38>
.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-32727938
.—
Reply to this email directly or view it on GitHub.
from python-matlab-bridge.
Thanks for merging my bugfix. Basic complex data transfer from Matlab to Python works now fine. There is still a bug when changing the size of a already transfered variable. I will file another bug report. Actually two. :)
from python-matlab-bridge.
Related Issues (20)
- stdout not returned if stderr is populated by matlab
- 32 bit Matlab Messenger File not a valid Win32 application HOT 3
- Floating figures don't work on Windows HOT 2
- Unable to add folder using `addpath` HOT 1
- Python stalls and throws a Java exception whenever plotting functions are called. HOT 12
- Cannot use plot() on MacOS & Matlab R2016b HOT 3
- Cannot specify location of matlab executable HOT 3
- pymatbridge returns unwritable array
- Install fails on Windows Python 3.6
- Silent crash when passing numpy array into mlab.run_func HOT 1
- gmake install
- Errors with Pymatbridge HOT 2
- Pymatbridge starting but exhibiting weird behavior HOT 1
- Error pymatbridge: 'numpy.ndarray' object has no attribute 'todok' HOT 1
- Matlab function not responding after certain times of calls. HOT 6
- using run_func() to run a function in .m file,, my octave code can't access any session variables HOT 1
- OS X Sierra: Can't make the magic commands work HOT 8
- Make implicit non-blocking calls explicitly blocking
- macOS Monterey: Undefined function pops up when a python string is inserted as an argument. HOT 3
- Add dependencies to setup.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-matlab-bridge.