MATLAB: How to check the outputs of the Incremental Shaft Encoder in Simulink

checkoutputsimulink

There is a problem coming in checking the outputs of the incremental shaft encoder in Simulink.

Best Answer

Since you are using blocks from simscape multibody, which have different signals as compared to normal signals of Simulink. You cannot connect signals from two different types with each other directly. You need to add some appropriate blocks to make the signals compatible. See the attached simulink file for the example on how to connect these two signals.
Related Question