MATLAB: Connected mathematics question to the simulation library blocks

libraryMATLAB

Hi
I am working on a dynamic model for the induction generator which is presented in some of the mathematical differential equations. To run this model I have to connect the output and the input to some block in simulation library but I can not connect them.
Please note that I represent the mathematical equation as subsystems which has input and output

Best Answer

Simscape blocks cannot be directly connected to Simulink blocks. You need to consider several things when making a connection. A while ago, I wrote an answer to another question on the same issue. Read the answer and especially read this comment: https://www.mathworks.com/matlabcentral/answers/509668-how-to-check-the-outputs-of-the-incremental-shaft-encoder-in-simulink#comment_809244. If there is an issue, attach a simple Simulink file (.slx) with the minimum number of components which you are not able to connect.