Error compiling the codes with the mcc command

2 views (last 30 days)
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).

Answers (1)

Bruno Luong
Bruno Luong on 26 Aug 2020
Maybe the oldbuilt mexfile is being used?

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!