C Caller Block Debugging
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I use a C Caller Block with rather complex C-Code behind it. If errors are mentioned in the diagnostic viewer, there is a prompt to open the Debugger and debug the code step-by-step (I use Visual Studio 2019). This is mentioned here: https://de.mathworks.com/help/simulink/ug/integrate-ccode-ccaller.html#mw_d8fef0fd-6efd-471c-84c1-5ef9ddaf65a2
Now, my code does not throw errors anymore, but I still want to debug it. How can I open the Debugger without the "open Debugger" prompt?
There are many instructions like here: https://de.mathworks.com/support/search.html/answers/362169-how-do-i-debug-and-set-breakpoints-in-custom-c-code-used-in-a-matlab-function-block-stateflow-or-a.html?fq[]=asset_type_name:answer&fq[]=category:compiler/index&page=1
But they are very complicated and I can't get them to work. Why is it so hard if its possible to open the Debugger with a button, in case of an error? Is there some easy way I'm missing?
Thanks a lot for any help.
0 comentarios
Respuestas (1)
Kumar Pallav
el 1 de Sept. de 2021
Please try this to debug on Microsoft Windows Platforms:
0 comentarios
Ver también
Categorías
Más información sobre Simulink Functions en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!