boolean to double signals
200 views (last 30 days)
Show older comments
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 Comments
quentin hay
on 15 Nov 2020
use data type conversion block. specify output as desired form. I used double
Answers (3)
Krishnendu Mukherjee
on 14 Mar 2012
there is a block datatype conversation.it works
1 Comment
Shane Huang
on 13 Apr 2021
Not sure why my convert block does not work. The result is always "optimized".
Hamed
on 14 Mar 2012
1 Comment
Kaustubha Govind
on 14 Mar 2012
Use the DataType Conversion block to convert the boolean signal to a double signal as Krishnendu suggested.
Abhishek Ballaney
on 27 Feb 2018
https://in.mathworks.com/help/simulink/slref/datatypeconversion.html
1 Comment
Oleksandr
on 24 Mar 2023
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!
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!