Compiled program does not run due to group policy
5 次查看(过去 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!