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

2 vues (au cours des 30 derniers jours)
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'.

Réponse acceptée

Ritika Thusoo
Ritika Thusoo le 11 Août 2025
Déplacé(e) : Sabin le 12 Août 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.

Plus de réponses (0)

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by