Fix problem with data conversion

1 view (last 30 days)
I want to simulate a two cuadrant chopper with a pwm but i have a problem with the convexion data.
This is my problem
This is the conection that i made into the chopper
This is my pwm mathematical solution.

Accepted Answer

Balavignesh
Balavignesh on 14 Feb 2023
Hi David,
I understand that you got a data type mismatch error for the input ports.
You have used less than equal to block in your PWM mathematical solution. Please check the output data type of the less than equal to block. By default, it is boolean. You will find the “Output data type” field under the “Data Type” tab in the block parameters.
Regards,
Balavignesh

More Answers (0)

Community Treasure Hunt

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

Start Hunting!