Can other computers that install my compiled appdesigner app make use of its parfor statements?

1 view (last 30 days)
I am having a very hard time finding the answer to this question because there seems to be a lot of conflicting information out there. Here are the facts:
  1. I have MATLAB Compiler and the Parallel Computing Toolbox on my computer
  2. I have coded an app using appdesigner. One of the buttons on the UI enacts a certain algorithm that makes use of parfor statements.
  3. I compiled the app and sent the installer to someone who does not have matlab or the parallel computing toolbox on their computer.
  4. Although the app works, the parfor statements behave like regular for statements.
Is it possible to compile an app for use by a different user that has working parfor statements?
  • Certain answers have said no. To this, I wonder, will matlab ever add this feature or is it not a feature on purpose?
  • Other answers have said yes and detail that you need to send the user an exported local cluster file and add a setmcruserdata('ParallelProfile', 'profile') command before the parfor statements. This didn't work. To this, I wonder, am I doing something wrong?
Long story short, does a user have to MATLAB and a Parallel Computing Toolbox license in order to properly run an app that I have created that uses parfor statements, even though I own the matlab compiler which is supposed to make standalone apps that users can use without having a MATLAB license?
This implies you can. However, this implies you cannot. Which one is true? Am I missing something?
Thanks!
  4 Comments
Rik
Rik on 10 Mar 2020
Comment posted as answer by Akanksha Mishra:
@Tahoe Schrader
Hi ,
i am facing the same issue with my GUI build executable file.
Did you find a solution for your problem then ?
Please care to share.
Thanks.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!

Translated by