How to deploy a compiled application by MATLAB Compiler on Windows using the NET.addAssembly?
6 ビュー (過去 30 日間)
古いコメントを表示
The current appication is running fine in MATLAB, but once that it is compiled with mcc and get the C files, Visual Studio says that the .dll added by NET.addAssembly is not found...
0 件のコメント
回答 (1 件)
Divyanshu
2025 年 1 月 15 日
A possible reason can be that the dll is not present in your Global Assembly Cache (GAC). You can add the dll to the GAC along with all other DLLs that it requires by following these instructions: Add assembly to global-assembly cache
You can execute the commands mentioned in the above instructions using "Developer Command Prompt for Visual Studio".
To verify if an assembly is present in GAC, type "SampleAssembly." in MATLAB and press TAB. It should show auto-fill options.
Hope it helps!
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!