Matlab 2018b MinGW64 6.3 build error binfo.mat: permission denied.

7 ビュー (過去 30 日間)
Robert Kotelnikow
Robert Kotelnikow 2022 年 7 月 1 日
回答済み: Chetan 2023 年 12 月 29 日
I wanted to build a simulink model for a NI linux rt (PXIe 8840) with Matlab 2018b. I installed Matlab 2018b, compiler MinGW64 6.3 and VeriStand 2020 R4 with the model framework.
Model configuration:
But if I try to build the model I get the error:
### Build procedure for model: 'Test_Linux' aborted due to an error.
Unable to write file E:****\Test_Linux\tmwinternal\binfo.mat: permission denied.
There is no such file and what permission do I need?
  5 件のコメント
Robert Kotelnikow
Robert Kotelnikow 2022 年 7 月 5 日
編集済み: Robert Kotelnikow 2022 年 7 月 5 日
That is not a network fiel system. It is a partition on my developer pc.
There is no file binfo.mat. Every time I unlock the directory "tmwinternal" to have access read/write after the compile error the directory have only read access. But there is no file binfo.mat in it.
>> fileattrib E:\MATLAB\slprj\VeriStand\Test_Linux\tmwinternal\
Name: 'E:\MATLAB\slprj\VeriStand\Test_Linux\tmwinternal'
archive: 0
system: 0
hidden: 0
directory: 1
UserRead: 1
UserWrite: 1
UserExecute: 1
GroupRead: NaN
GroupWrite: NaN
GroupExecute: NaN
OtherRead: NaN
OtherWrite: NaN
OtherExecute: NaN
>> dir E:\MATLAB\slprj\VeriStand\Test_Linux\tmwinternal\
. .. CompileInfo.xml minfo.mat
Walter Roberson
Walter Roberson 2022 年 7 月 5 日
Sorry, I do not know.

サインインしてコメントする。

回答 (1 件)

Chetan
Chetan 2023 年 12 月 29 日
I understand you're facing a permission error while building a Simulink model for an NI Linux RT target.
This might be due to the other software restricting the file access such as antivirus or the Drive application
To tackle the permission issue during the build:
  1. Pause Sync Services: Temporarily stop any file synchronization services like OneDrive to avoid file access conflicts.
  2. Close Other Applications: Make sure no other programs are using or locking project files.
  3. Retry Building: With synchronization halted and antivirus off, attempt the build again.
  4. Set Service Exclusions: If successful, exclude your project folder from antivirus scans and file sync services.
Hope it helps !

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by