Questions tagged [python-mlab]

For questions on using the mlab Matlab-to-Python bridge

Mlab is a new(er) release of :

4 questions
8
votes
2 answers

Python Mlab - cannot import name find_available_releases

I am new to Python. I am trying to run MATLAB from inside Python using the mlab package. I was following the guide on the website, and I entered this in the Python command line: from mlab.releases import latest_release The error I got was: cannot…
KSS
  • 81
  • 1
  • 4
1
vote
0 answers

Python TypeError when import "mlab" module in Abaqus PDE

Windows Machine, Python 2.7 64 bit, Abaqus 6.14 I tried to call matlab function in Python scripts var "mlab" module. It ran well in the Python IDEL. But when importing "mlab" in ABAQUS PDE, I got an Python Error. TypeError coercing to Unicode:need…
freshmanxy
  • 11
  • 2
0
votes
0 answers

Running .m file with arguments using mlab from python

I have installed mlab for running a few .m scripts from python. I have tested it code from this answer and it works very well. However my problem starts when I try to run a script using the run command. Here is everything I have…
gaya
  • 463
  • 2
  • 6
  • 22
0
votes
0 answers

pywintypes.com_error using mlab

I want to call matlab from python using mlab. When I do the following from mlab.releases import R2012a as matlab I get the following error: Exception AssertionError: AssertionError() in
user3820991
  • 2,310
  • 5
  • 23
  • 32