Code Monkey home page Code Monkey logo

Comments (1)

arokem avatar arokem commented on May 22, 2024

Thanks for checking this out and for your suggestion! Another way to do
this is to start the matlab object explicitly pointing to your matlab
executable:

import pymatbridge as pymat
matlab =

pymat.Matlab(matlab='/Applications/MATLAB_R2012b.app/bin/matlab')
matlab.start()

Or for the ipython magic:

ip = get_ipython()
pymat.load_ipython_extension(ip,

matlab='/Applications/MATLAB_R2012b.app/bin/matlab')

But I will also add this way (the symlink) to the Readme.

On Tue, Mar 5, 2013 at 7:02 AM, Enrique Fernández
[email protected]:

test.py and the ipython notebook magic don't work unless the matlab
command can be accessed from the shell (that wasn't the case in my MATLAB
instalation).

In order to make it work, create a symlink to the matlab executable.

For my MATLAB version, I had to do:

sudo ln -s /Applications/MATLAB_R2012b.app/bin/matlab
/Users/username/bin/matlab

Then everything worked perfectly.
You may want to add this to the README file.

Thanks for the good work.


Reply to this email directly or view it on GitHubhttps://github.com//issues/17
.

from python-matlab-bridge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.