1. Simulink is not allowing me to set breakpoints with an imported Matlab function, nor step (only run) and I am also unable to display the value of a connection between blocks during simulation (even though I have enabled this). Any ideas why?
2. Rather than create a new user-defined matlab model within simulink, can one import a known good function previously developed within matlab?
Kind Regards, Rajan
If you are not able to see the values of the signals during simulation, then you can log the signal data and then view it using Data Inspector. Right-click the signal connection and click Log Selected Signal. Then view logged values by double-clicking the antenna symbol appearing over the connection. Similarly, you can also use Simulink debugger for more control over debugging and spotting which block is creating problems.