Compiled program does not run due to group policy

5 ビュー (過去 30 日間)
Joel Marchand
Joel Marchand 2016 年 6 月 2 日
回答済み: Stefanie Schwarz 2024 年 9 月 20 日
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.

回答 (1 件)

Stefanie Schwarz
Stefanie Schwarz 2024 年 9 月 20 日

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by