Compiled code has no access to mapped network drives

1 回表示 (過去 30 日間)
Aryan
Aryan 2022 年 11 月 28 日
コメント済み: Aryan 2022 年 11 月 28 日
I have compiled code from matlab R2020b. This code is used to load data from a network drive, analyse it and output data to the network drive again.
Now I want to compile the code using R2021b. The issue is that with this compiled code I do not have network drive access any more, local drives work fine. In the UI I get a red cross trough the drive meaning that the credentials are wrong suggesting that the compiled code is executed as a different user.
How do I either gain access to the network drive using, unknown to me, local user rights or change the user running the compiled code?
  2 件のコメント
Jan
Jan 2022 年 11 月 28 日
Which UI shows the red cross? What happens if you click on this icon ignoring the cross?
Compiled code does not run under a different user-account. If this would be working without providing a password, Matlab would be a dangerous hacking tool.
Aryan
Aryan 2022 年 11 月 28 日
The ui with the red cross is from the uigetfolder. If I click the red crossed mapped network drive I get access denied.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by