- Compile the C# code in 'Debug' mode in Microsoft Visual Studio.
- Select 'Attach to Process' from the 'Debug' tab in Visual Studio and select the MATLAB process from the 'Available Processes' window.
- Place a break point at the line where you wish the debugger to stop and call it from MATLAB.
How to debug C# .NET assembly called from MATLAB?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 7 Jan 2021
Modifié(e) : MathWorks Support Team
le 17 Déc 2024
I'm trying to use some .NET assemblies from MATLAB but I am encountering a MATLAB System Error.
I was wondering if there is some additional debug logs I can turn on to see the details of the system error to determine what in my .NET assembly might be causing the crash.
Réponse acceptée
MathWorks Support Team
le 17 Déc 2024
Modifié(e) : MathWorks Support Team
le 17 Déc 2024
Follow the steps below to debug a .NET assembly called from MATLAB:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur .NET Methods in MATLAB dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!