Why does Simulink ignore breakpoints in nested functions (r2020a)?
I have matlab functions in my simulink model. At the top level I can set breakpoints and from there I can continue, step in and out of nested functions and step row by row, but any breakpoints set in the nested functions are ignored. I had a similar problem in r2016b but this was solved by removing the slprj folder before i set the breakpoints. This doesn’t help in r2020a. What should I do? It’s impractical to step one line at a time to get to the lines of interest.
Thankful for any help on this.I have matlab functions in my simulink model. At the top level I can set breakpoints and from there I can continue, step in and out of nested functions and step row by row, but any breakpoints set in the nested functions are ignored. I had a similar problem in r2016b but this was solved by removing the slprj folder before i set the breakpoints. This doesn’t help in r2020a. What should I do? It’s impractical to step one line at a time to get to the lines of interest.
Thankful for any help on this. I have matlab functions in my simulink model. At the top level I can set breakpoints and from there I can continue, step in and out of nested functions and step row by row, but any breakpoints set in the nested functions are ignored. I had a similar problem in r2016b but this was solved by removing the slprj folder before i set the breakpoints. This doesn’t help in r2020a. What should I do? It’s impractical to step one line at a time to get to the lines of interest.
Thankful for any help on this. simulink, breakpoints MATLAB Answers — New Questions