Breakpoint in Simulink MATLAB function block not working

11 次查看(过去 30 天)
I add a breakpoint to the code in my MATLAB function block in Simulink. I am running Simulink from a script using sim and it does not stop at the breakpoint. It is running the function because Simulink errors are being generated from functions called by the function block.

采纳的回答

Scott
Scott 2023-11-13
I tried a breakpoint in a similar model and it worked. I then realized that the function is not running; my Simulink error is a coder error.

更多回答(1 个)

Fangjun Jiang
Fangjun Jiang 2023-11-13

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by