MATLAB standalone application error

3 vues (au cours des 30 derniers jours)
Suchan Lee
Suchan Lee le 6 Mar 2024
mcc -o AWS_convert_form_v4_day_server_3d -W 'WinMain:AWS_convert_form_v4_day_server_3d,version=1.0' -T link:exe -d 'E:\경로' -v 'E:\경로\AWS_convert_form_v4_day_server_3d.m' -r 'C:\Program Files\MATLAB\R2023b\toolbox\compiler\packagingResources\default_icon.ico'
Compiler version: 23.2 (R2023b)
Analyzing file dependencies.
Error: Unable to open file "E:\경로\AWS_convert_form_v4_day_server_3d.exe": 다른 프로세스가 파일을 사용 중이기 때문에 프로세스가 액세스 할 수 없습니다.
.
mcc에 실패했습니다.

Réponses (1)

Tushar Sharma
Tushar Sharma le 13 Mar 2024
Hi Suchan,
The error message you're encountering indicates that the MATLAB Compiler (mcc) was unable to open the file 'E:\경로\AWS_convert_form_v4_day_server_3d.exe' because it is being used by another process. This typically happens when the file you are trying to compile or overwrite is currently open or locked by another application or process on your system.
Here are some steps to resolve this issue:
  1. Close the Program: Ensure that the 'AWS_convert_form_v4_day_server_3d.exe' file is not currently running. If it is, close the program properly.
  2. Check for Background Processes: Sometimes, even after closing the program, it might still be running in the background. Use the Task Manager (press Ctrl + Shift + Esc) to check for any instances of the '.EXE' or related processes and end them.
  3. File Locking Programs: If you have any file locking programs or antivirus software running, they might be accessing or scanning the file. Temporarily disable these programs and try again.
  4. Run as Administrator: Running the MATLAB Compiler with administrative privileges can sometimes resolve access issues. Right-click on your MATLAB shortcut and select "Run as administrator".
  5. Restart Your Computer: If none of the above steps work, restarting your computer can help close any processes that might be using the file.
After following these steps, try running the 'mcc' command again. If the problem persists, there might be an issue with the MATLAB Compiler setup or with the specific '.m' file you are trying to compile. In that case, you may try contacting MathWorks support for direct assistance.

Catégories

En savoir plus sur 빅 데이터 처리 dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!