MATLAB: Connrect two blocks in simulation

connect two blocksimulation

How i can connect these two block

Best Answer

See the attached file. I know that connection between ports on the Simulink model can be confusing; therefore, read my comment here, which try to explain which to of ports can be connected: https://www.mathworks.com/matlabcentral/answers/509668-how-to-check-the-outputs-of-the-incremental-shaft-encoder-in-simulink#comment_809244