multi-threading in matlab 2009a/b

Discussion in 'Programmer's Corner' started by nyenty, Mar 16, 2010.

  1. nyenty

    Thread Starter New Member

    Mar 16, 2010
    1
    0
    Hallo Guys,
    I am doing some software design ad implementation with matlab oop. i am actually building a simulator and i need to apply multi-threading so as to achieve parallel execution of commands. Well matlab doesnot support this and i was wondering if there is another way to achieve this.
    I want matlab to be running the simulation and at thesame time be updating an array.

    thanks in advance guys.
    its my bachelor thesis.i really need help.
     
  2. retched

    AAC Fanatic!

    Dec 5, 2009
    5,201
    312
    Can you run two versions of multisim simultaneously with having one reading a file and one updating the file, as an array?

    I don't know multisim, so Im just guessing here.
     
  3. johndoe45

    Member

    Jan 30, 2010
    364
    1
    check out this link
    http://forum.allaboutcircuits.com/showthread.php?t=35795

    taking numerical methods

    just something to throw out there. no idea if relevant

    but can't you do some sort of "for" loop to keep updating

    like x=0:0.01:10

    for i=1:length(x)
    y(i)=2*x(i);
    end

    SEE ATTACHMENT LAB 10 !!!!!!

    also a history function somewhere in there
    can use history in the for loop.
     
    • lab.JPG
      lab.JPG
      File size:
      119.4 KB
      Views:
      23
    Last edited: Mar 20, 2010
Loading...