Fix problem with data conversion

조회 수: 1 (최근 30일)
David francisco FernÁndez Rees
David francisco FernÁndez Rees 2023년 1월 30일
답변: Balavignesh 2023년 2월 14일
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.

채택된 답변

Balavignesh
Balavignesh 2023년 2월 14일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Physical Units에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by