function c = hdlmcbblks_control

%   Copyright 2022-2023 The MathWorks, Inc.

c = hdlnewcontrol(mfilename);

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%                             %
%  BLOCKSET BINDINGS  %
%                             %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%mcbcontrolslib & mcbpositiondecoderlib

c.defaultFor(...
    'mcbcontrolslib/Inverse Clarke Transform', {}, ...
    'hdlutilities.InverseClarkeTransform');

c.defaultFor(...
    'mcbcontrolslib/Park Transform', {}, ...
    'hdlutilities.ParkTransform');

c.defaultFor(...
    'mcbcontrolslib/Inverse Park Transform', {}, ...
    'hdlutilities.InverseParkTransform');

c.defaultFor(...
    'mcbcontrolslib/Clarke Transform', {}, ...
    'hdlutilities.ClarkeTransform');

c.defaultFor(...
    'mcbcontrolslib/PWM Reference Generator', {}, ...
    'hdlutilities.PWMReferenceGenerator');

c.defaultFor(...
    'mcbcontrolslib/DQ Limiter', {}, ...
    'hdlutilities.DQLimiter');

c.defaultFor(...
    'mcbpositiondecoderlib/Quadrature Decoder', {}, ...
    'hdlutilities.PosDecoderBlocks');

c.defaultFor(...
    'mcbhdlpositiondecoderlib/Speed Measurement', {}, ...
    'hdlutilities.SpeedMeasurement');

c.defaultFor(...
    'mcbpositiondecoderlib/Mechanical to Electrical Position', {}, ...
    'hdlutilities.PosDecoderBlocks');

c.defaultFor(...
    'mcbhdlplantlib/PMSM HDL', {}, ...
    'hdlutilities.ElectricalSystems');

c.defaultFor(...
    'mcbhdlplantlib/Induction Motor HDL', {}, ...
    'hdlutilities.ElectricalSystems');

c.defaultFor(...
    'mcbcontrolslib/Derating Function', {}, ...
    'hdlutilities.DeratingFunction');

c.defaultFor(...
    'mcbhdlpositiondecoderlib/Mechanical to Electrical Position', {}, ...
    'hdlutilities.PosDecoderBlocks');

c.defaultFor(...
    'mcbpositiondecoderlib/Flux Observer', {}, ...
    'hdlutilities.FO');

c.defaultFor(...
    'mcbcontrolslib/ACIM Torque Estimator', {}, ...
    'hdlutilities.ControlsLibBlocks');

c.defaultFor(...
    'mcbcontrolslib/ACIM Control Reference', {}, ...
    'hdlutilities.ACIMControlRef');

c.defaultFor(...
    'mcbcontrolslib/ACIM Feed Forward Control', {}, ...
    'hdlutilities.ControlsLibBlocks');

c.defaultFor(...
    'mcbcontrolslib/ACIM Slip Speed Estimator', {}, ...
    'hdlutilities.ControlsLibBlocks');

c.defaultFor(...
    'mcbcontrolslib/atan2', {}, ...
    'hdlutilities.ControlsLibBlocks');

c.defaultFor(...
    'mcbcontrolslib/IIR Filter', {}, ...
    'hdlutilities.IIR');

c.defaultFor(...
    'mcbcontrolslib/Position Generator', {}, ...
    'hdlutilities.PositionGenerator');

c.defaultFor(...
    'mcbhdlplantlib/BLDC HDL', {}, ...
    'hdlutilities.ElectricalSystems');

c.defaultFor(...
    'mcbcontrolslib/Protection Relay', {}, ...
    'hdlutilities.ProtectionRelay');

c.defaultFor(...
    'mcbdeadtimecomplib/Dead-Time Compensator', {}, ...
    'hdlutilities.DeadTimeCompensator');