Can other computers that install my compiled appdesigner app make use of its parfor statements?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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:
- I have MATLAB Compiler and the Parallel Computing Toolbox on my computer
- I have coded an app using appdesigner. One of the buttons on the UI enacts a certain algorithm that makes use of parfor statements.
- I compiled the app and sent the installer to someone who does not have matlab or the parallel computing toolbox on their computer.
- 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?
Thanks!
4 Kommentare
Adam
am 18 Jan. 2018
They definitely don't need the Parallel Computing Toolbox, that is absolute 100% certain. Executables are to run on machines that do not require base Matlab.
I don't use
parpool local
so that may be a difference. I'm not familiar with exactly what it does, I simply call
parpool( )
to open a parallel pool so it will use a default cluster and this appears to work fine on target machines with no extra work to be done. It may be that 'local' does need to you include something else in the executable that is not there, but that would be beyond my knowledge of the subject!
Rik
am 10 Mär. 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.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Parallel Computing Fundamentals finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!