Hi Bobb,
The “powerlib” library is now a part of Simscape Electrical libraries. You can view the list of blocks supported for HDL Coder at the following link:
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!