Fix problem with data conversion

2 ビュー (過去 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 Center および File ExchangePulse width modulation (PWM) についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by