Linear algebra error while implementing trapezoidal control using bldc motor and mosfets from simscape

"cannot solve for one or more variables"
for the BLDC block alone I am getting the above error description
I have already tried setting nominal values and setting some initial values for rotor angle, even tried changing solver type to ode 23t still unable to resolve it.
I would have assigned some inductance values and back emf values all of them are tested and proven values from my bldc motor datasheet. Even the nominal values are from the datasheet.
What should I do to resolve this error ?

Answers (1)

An “Electrical Reference” was added to the neutral port, and no errors occur during simulation or build.

Products

Release

R2026a

Asked:

on 12 Sep 2026 at 19:29

Answered:

on 14 Sep 2026 at 12:01

Community Treasure Hunt

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

Start Hunting!