Compiled program does not run due to group policy
조회 수: 3 (최근 30일)
이전 댓글 표시
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.
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 File Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!