Comments (12)
same here unfortunately! Any ideas on other similar options that don't throw these errors are appreciated as well. I'd need the plots, but I have the feeling that this is my best bet with the new matlab version. I have seen this issue being mentioned as related to the matlab version 2016a. Maybe downgrading matlab is a possibility for now.
Things other than plotting work well for me.
Anaconda , Ubuntu 14.04 , Matlab 2016a.
from python-matlab-bridge.
Yes - I now have Matlab2016 and I am seeing the same issues with plotting.
The MatlabInterpreterError that gets thrown says:
"Images must contain fewer than 2^32 - 1 bytes of data."
It looks like images are getting generated at some unreasonably high
resolution, or something like that:
http://stackoverflow.com/questions/34113784/saving-a-
very-large-image-in-matlab
I am not sure why that's happening, though.
On Wed, Aug 17, 2016 at 5:36 AM, trummelbummel [email protected]
wrote:
same here unfortunately! I just bought matlab because the spectrogram
function in python mlab was not giving me the correct results. Any ideas on
other similar options that don't throw these errors are appreciated as
well. I'd need the plots, but I have the feeling that this is my best bet
with the new matlab version. I have seen this issue being mentioned as
related to the matlab version 2016a. Maybe downgrading matlab is a
possibility for now.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNiALhNop2OLclTokDuNrqLum7pw3ks5qgwAygaJpZM4JlsAM
.
from python-matlab-bridge.
@arokem How are you viewing that MatlabInterpreterError?
from python-matlab-bridge.
It gets raised by cell 3 in this notebook:
https://github.com/arokem/python-matlab-bridge/blob/master/pymatbridge/examples/matlab_magic.ipynb
On Wed, Aug 17, 2016 at 12:12 PM, Cosmo [email protected] wrote:
@arokem https://github.com/arokem How are you viewing that
MatlabInterpreterError?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNkfxbBx3unrC6gCIdweBQpuwLwmdks5qg10ugaJpZM4JlsAM
.
from python-matlab-bridge.
@arokem All I see is this:
from python-matlab-bridge.
I see that first, but then after a short wait:
On Wed, Aug 17, 2016 at 12:44 PM, Cosmo [email protected] wrote:
@arokem https://github.com/arokem All I see is this:
http://i.imgur.com/mO2Yu8b.png—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNiMPFlR_UECF-fSSg7X-FY0B4oQlks5qg2SCgaJpZM4JlsAM
.
from python-matlab-bridge.
from python-matlab-bridge.
@arokem Ahh, I see. I guess I should have let the code run a bit longer. What are your thoughts on how to fix it? I've only just started diving into your program so I don't yet have any grand ideas of my own.
from python-matlab-bridge.
One possible place that might be causing this is the setting of plot
properties:
https://github.com/arokem/python-matlab-bridge/blob/master/pymatbridge/pymatbridge.py#L332-L341
If the API of this changed in Matlab 2016, something in there might cause
plots to blow up.
On Wed, Aug 17, 2016 at 4:38 PM, Cosmo [email protected] wrote:
@arokem https://github.com/arokem Ahh, I see. I guess I should have let
the code run a bit longer. What are your thoughts on how to fix it? I've
only just started diving into your program so I personally don't have any
grand ideas yet.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNlIx50j1j2wgWvAyYH-Aher35WHrks5qg5tegaJpZM4JlsAM
.
from python-matlab-bridge.
I am not quite sure why the size of the image would be relevant if I'd save my images within the matlab script and do not pass them back to python? Whereas I would like to pass back the computed values to python.
from python-matlab-bridge.
I think that something in this setup is causing Matlab to create images
that are unreasonably large when plot
is called (see the link to SO
above).
On Wed, Aug 17, 2016 at 11:48 PM, trummelbummel [email protected]
wrote:
I am not quite sure why the size of the image would be relevant if I'd
save my images within the matlab script and do not pass them back to
python? Whereas I would like to pass back the computed values to python.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#244 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHPNuOG4p-pvuKGJxC317lWLRYW9eoFks5qhAAzgaJpZM4JlsAM
.
from python-matlab-bridge.
Ah thank you! I didn't see that.
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
- 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.