How Parallel Computing Toolbox works with MCR?

4 views (last 30 days)
Bíró
Bíró on 19 Sep 2012
Commented: Roni Zidane on 27 Mar 2020
I have a MATLAB function and I deployed it with Builder NE. I will use it on a computer where there is only MCR and I will call this function from more thread in a C# application. In this case my MATLAB function will be serialized because the MCR operates on only one thread. If I would like to use this MATLAB function faster than I need it can run on more thread. If I install the Parallel Computing Toolbox on that computer, will it solve that issue?

Answers (1)

Jason Ross
Jason Ross on 19 Sep 2012
I think the ability to have compiled local workers is what you are looking for:
"Standalone executables and shared libraries generated from MATLAB Compiler for parallel applications can now launch up to twelve local workers without MATLAB Distributed Computing Server."
Here are the steps to make it work, with example code:
  1 Comment
Roni Zidane
Roni Zidane on 27 Mar 2020
Hi there,
in 2020, the above link does not work. Is there an updated information anywhere?
In my case, I have developed a GUI - with a function which uses parallel computing, statistic toolbox and imageprocessing toolbox. How should i create a standalone app, that can run with MCR?
Thanks,
Roni

Sign in to comment.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!