Skip to Main content Skip to Navigation
Conference papers

Seamless Multicore Parallelism in MATLAB

Abstract : MATLAB is a popular mathematical framework composed of a built-in library implementing a significant set of com-monly needed routines. It also provides a language which allows the user to script macro calculations or to write com-plete programs, hence called "the language of technical computing". So far, a noticeable effort is maintained in order to keep MATLAB being able to cooperate with other standard programming languages or tools. However, this interoperability, which is essential in many circumstances including performance and portability, is not always easy to implement for ordinary scientists. The case of parallel computing is illustrative and needs to be addressed as mul-ticore machines are now standard. In this work, we report our efforts to provide a framework that allow to intuitively express and launch parallel executions within a classical MATLAB code. We study two alternatives, one which is a pure MATLAB solution based on the MATLAB parallel computing toolbox, and another one which implies a sym-metric cooperation between MATLAB and C, based on the Pthread library. The later solution does not requires the MATLAB parallel toolbox, thus clearly brings a portability benefit and makes the move to parallel computing within MATLAB less costly to standard users. Experimental re-sults are provided and commented in order to illustrate the use and the efficiency of our solution.
Document type :
Conference papers
Complete list of metadata

Cited literature [6 references]  Display  Hide  Download
Contributor : Claire Medrala Connect in order to contact the contributor
Submitted on : Tuesday, November 25, 2014 - 11:02:32 AM
Last modification on : Monday, June 27, 2022 - 3:04:26 AM
Long-term archiving on: : Thursday, February 26, 2015 - 11:05:55 AM


Files produced by the author(s)



Claude Tadonki, Pierre-Louis Caruana. Seamless Multicore Parallelism in MATLAB. Parallel and Distributed Computing and Networks (PDCN 2014), Feb 2014, Innsbruck, Austria. pp 1-8, ⟨10.2316/P.2014.811-005⟩. ⟨hal-01086917⟩



Record views


Files downloads