Error compiling the codes with the mcc command

조회 수: 2 (최근 30일)
Sergio Esteve
Sergio Esteve 2020년 8월 26일
답변: Bruno Luong 2020년 8월 26일
Hi folks,
I'm trying to compile a code and the mcc command is failing. It has happened for all the staff working in the building so I fear that IT may have changed something. The error I get with the command mcc -m -v file.m is below. Any tips to fix it? I had a similar problem long time ago and I think I solved it by changing the some dir paths in the mcc settings.
...
Deleting 0 temporary MEX authorization files.
Generating file "read_rs_main.c".
Generating file "read_rs_delay_load.c".
Generating file "T:\TTS_MedPhys\S_RTProjects\SES Projects\Brachy\Brachy DVH QA\LDR\05m resolution\readme.txt".
Generating file "read_rs_mcc_component_data.c".
Executing command: ""C:\ProgramData\App-V\037C0413-BABB-40E4-9F00-17C6EBABCB4E\195892A7-82E7-45A3-BA75-560B55746D06\Root\bin\mbuild" -O -v -output "read_rs" "read_rs_main.c" "read_rs_delay_load.c" "read_rs_mcc_component_data.c" -link exe -env MCR_DELAYLOAD=/delayload:mclmcrrt713.dll -env MCR_DELAYLIB=delayimp.lib"
Access is denied.
Error: An error occurred while shelling out to mbuild (error code = 5).
Unable to build executable.
??? Error using ==> mcc
Error executing mcc, return status = 1 (0x1).

답변 (1개)

Bruno Luong
Bruno Luong 2020년 8월 26일
Maybe the oldbuilt mexfile is being used?

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by