Serving the Quantitative Finance Community

 
User avatar
player
Topic Author
Posts: 0
Joined: August 5th, 2002, 10:00 am

MultiThreading in Matlab

November 7th, 2006, 9:23 am

Does anyone have a good link on how it can be done...??
 
User avatar
ZmeiGorynych
Posts: 6
Joined: July 10th, 2005, 11:46 am

MultiThreading in Matlab

November 7th, 2006, 9:28 am

Can't. Matlab is single-threaded (kinda). You want multiple threads, you need to write them in a real language and launch that from matlab (Java probably easiest).http://www.cs.utoronto.ca/~bowen/code/code.html#matjav
 
User avatar
zeta
Posts: 26
Joined: September 27th, 2005, 3:25 pm
Location: Houston, TX
Contact:

MultiThreading in Matlab

November 7th, 2006, 12:39 pm

you could also use mbuild/mcc in matlab to generate C/C++ and in compilation options select multi thread *dll's eg., this tech note may help
Last edited by zeta on November 6th, 2006, 11:00 pm, edited 1 time in total.
 
User avatar
charlal
Posts: 0
Joined: June 5th, 2006, 8:16 am

MultiThreading in Matlab

November 30th, 2007, 5:02 pm

Matlab r2007b permit multithreading
 
User avatar
stali
Posts: 0
Joined: January 10th, 2006, 12:40 am

MultiThreading in Matlab

November 30th, 2007, 5:29 pm

QuoteMatlab is single-threadedDoesnt matlab use multi-threaded BLAS 3? It would really be surprising if they didnt.
Last edited by stali on November 29th, 2007, 11:00 pm, edited 1 time in total.
 
User avatar
eredhuin
Posts: 3
Joined: July 14th, 2002, 3:00 am

MultiThreading in Matlab

December 4th, 2007, 1:08 pm

You can use 2007b as noted above. Or you can use the distributed computing toolbox.
 
User avatar
ZmeiGorynych
Posts: 6
Joined: July 10th, 2005, 11:46 am

MultiThreading in Matlab

December 5th, 2007, 12:27 pm

Matlab 2007b, judging by their documenation, still does not allow _you_ to write explicitly multithreaded code, unless you have the Distributed Computing Toolbox, right? And even then it's a small selection of predefined things like parfor loops?