フィルターのクリア

boolean to double signals

216 ビュー (過去 30 日間)
Hamed
Hamed 2012 年 3 月 14 日
コメント済み: Oleksandr 2023 年 3 月 24 日
hello I want to create PWM signal generator blocks in Simulink which has blanking time also. but i have problem with finding the right block and configuration. I used "Transport delay" or "Variable Time delay" or "dead zone". there is the problem with boolean to double signal in varible time delay and transpor delay. please help me thanks
  4 件のコメント
Fahad khan
Fahad khan 2017 年 8 月 16 日
sir could you elaborate it plz...
quentin hay
quentin hay 2020 年 11 月 15 日
use data type conversion block. specify output as desired form. I used double

サインインしてコメントする。

回答 (3 件)

Krishnendu Mukherjee
Krishnendu Mukherjee 2012 年 3 月 14 日
there is a block datatype conversation.it works
  1 件のコメント
Shane Huang
Shane Huang 2021 年 4 月 13 日
Not sure why my convert block does not work. The result is always "optimized".

サインインしてコメントする。


Hamed
Hamed 2012 年 3 月 14 日
there is a "NOT" block before the "Transport delay" in my configuration. when I run the file it sends me the error message which is: Only 'double' signals are accepted by block type TransportDelay. The signals at the ports of 'untitled/Transport Delay' are of data type 'boolean'.
  1 件のコメント
Kaustubha Govind
Kaustubha Govind 2012 年 3 月 14 日
Use the DataType Conversion block to convert the boolean signal to a double signal as Krishnendu suggested.

サインインしてコメントする。


Abhishek Ballaney
Abhishek Ballaney 2018 年 2 月 27 日
https://in.mathworks.com/help/simulink/slref/datatypeconversion.html
  1 件のコメント
Oleksandr
Oleksandr 2023 年 3 月 24 日
Thank you, good man! It is your link that worked for me. One should seek for this element in Simulink Library as 'convert' or 'Data Type Conversion'. Certainly NOT as 'datatype conversation'.
Good luck to everyone!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by