Compiled program does not run due to group policy

9 views (last 30 days)
I have written a command line program for running some electromagnetic models. I have compiled two versions (with and without the parallel computing toolbox). I am using the parfor loop to run various frequencies simultaneously. Both versions run fine withing the MATLAB environment, but when compiled, the version without runs fine the one with does not. I receive the following error message when trying to run the version with the parallel computing toolbox:
MATLAB:invalidMEXFile
Invalid MEX-file 'C:\Users\JMARCH~1\AppData\Local\Temp\jmarchand\mcrCache9.0\modelS1\toolbox\distcomp\distcomp\dct_psfcns.mexw64': This program is blocked by group policy. For more information, contact your system administrator.
It appears that the parallel computing toolbox creates executable files in a temporary directory. This is not allowed by our group policy (as implied by the error message), and this is set in stone as many of our IT restrictions.
Is there a way of specifying in a compiled program where these files will be created and executed from. The goal would be to specify a directory in which I have execute privileges.
MATLAB 2015B, Windows Pro 7 Service Pack 1 64 Bit.

Answers (1)

Stefanie Schwarz
Stefanie Schwarz on 20 Sep 2024

Categories

Find more on File Operations 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!