i am using simulink and getting error and unable to rectify it, please help

2 views (last 30 days)
Error:Simulink cannot unify the dimensions of the multiplexed signal at 'Output Port 1' of 'Battery/Permanent Magnet Synchronous Machine' to match the input dimension of 'Input Port 1' of 'Battery/Simulink-PS Converter'. Specifically, Simulink cannot unify {1,1,1,1,1,1,1,1,1,1,1,1,1} to match 1. Consequently, Simulink cannot propagate dimension information from 'Output Port 1' of 'Battery/Permanent Magnet Synchronous Machine' to 'Input Port 1' of 'Battery/Simulink-PS Converter'.

Accepted Answer

Ritika Thusoo
Ritika Thusoo on 11 Aug 2025
Moved: Sabin on 12 Aug 2025
Hi,
This issue appears to be a dimension mismatch between the 'Permanent Magnet Synchronous Machine' and the 'Simulink-PS Converter' blocks. In Simulink, signals can be either scalar or vector. If the connected blocks expect different signal types, it can lead to errors.
One possible cause is a configuration mismatch in the converter block. The 'Simulink-PS Converter' block might be set up to accept scalar input, while it is receiving a vector or bus signal instead.
Please verify that the output dimensions of the 'Permanent Magnet Synchronous Machine' block match the input dimensions expected by the 'Simulink-PS Converter' block. Below is a reference to a similar issue encountered.
You can read further regarding the ‘Simulink-PS Converter’ from the MathWorks documentation link given below.

More Answers (0)

Products


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!