Wednesday, September 29, 2010

How to install a toolbox in MATLAB

Today I learned how to install a toolbox in MATLAB. i know it's easy and simple for those who are experienced. But for me, it still took me a while to figure it out.

I downloaded a midi toolbox as a .zip file. Then I extracted it to one folder. The manual told me I need to "define the path varialbe", but how? Finally I knew it: File -> Set folder. One the pop-up dialogue box, use Add folder to add the path for the toolbox. Done!

16 comments:

  1. It's not easy when you do it the first couple of times. I use Psychtoolbox. Annoyingly, on one of the laptops I use for work, the path doesn't save unless I'm using Matlab as an administrator.

    ReplyDelete
    Replies
    1. That's true. I came across this problem today. Damn it!

      Delete
  2. Cheers! Really helpful.

    ReplyDelete
  3. Thanks a lot, I am newbie at this too... It really helped me.

    ReplyDelete
  4. Hey! can anyone help me please ! .. I've installed miditoolbox (thanks to this post) but when I try to load (read) a midi file it returns this "This function works only on Macintosh (OS X), Windows and Linux!" . I'm on windows 7 , with MATLAB 7.12.0 R2011a. Why does it behave so strange ?

    ReplyDelete
    Replies
    1. Are you Using WIN64? you can modify the line 37 in readmidi.m `elseif strcmp(computer,'PCWIN')` into `elseif strcmp(computer,'PCWIN') || strcmp(computer,'PCWIN64')`

      Delete
  5. thanks,as per u guide, add mirtoolbox on to matlab.

    ReplyDelete
    Replies
    1. any one suggest me about Polyphonic Timbre(Music Perception)

      Delete
  6. Hi thanks for the post..

    But still I am facing the same problem...

    I followed file-> setpath> add folder


    again as error
    This function works only on Macintosh (OS X), Windows and Linux!

    Please, help me

    ReplyDelete
    Replies
    1. darshan, what system are you using?

      Delete
    2. I am having the same issue... Is there a solution available? Thank you!

      Delete
    3. Are you Using WIN64? you can modify the line 37 in readmidi.m `elseif strcmp(computer,'PCWIN')` into `elseif strcmp(computer,'PCWIN') || strcmp(computer,'PCWIN64')`

      Delete
  7. can anyone tell me how to download tool box for matlab ?? please reply i really need it for my thesis work

    ReplyDelete
  8. Thanks it a lot. It works fine.

    ReplyDelete

Any comments?

my-alpine and docker-compose.yml

 ``` version: '1' services:     man:       build: .       image: my-alpine:latest   ```  Dockerfile: ``` FROM alpine:latest ENV PYTH...