Why I get this error in Simulink ?
Show older comments
Hello, everyone ! First, I want to say that I am new in Matlab/Simulink. I implemented a motor model in Simulink and when I run it I keep getting this error "Invalid setting for input port dimensions of 'untitled/Back-EMF generating block from rotor position and speed/Demux2'. The dimensions are being set to 1. This is not valid because the total number of input and output elements are not the same". I found here some similar questions, saying that some idea would be to insert the block "Signal Specification", but it didn't worked. I attached an image with the error. Any idea would be helpful. Thank you very much !
A.T.

Accepted Answer
More Answers (0)
Categories
Find more on Signal Attributes and Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!