Implement open-loop or closed-loop field-oriented control (FOC) techniques for sensor-based and sensorless position applications using PMSM.
Note
When using Motor Control Blockset™ examples, you may occasionally see these (or similar) error messages:
Variant control 'mcb_isCodeGenVar()' used by block 'mcb_pmsm_foc_qep_f28379d/Current Control/HW Inputs' should return a logical value.
Variant control 'mcb_isSimVar()' used by block 'mcb_pmsm_foc_qep_f28379d/Current Control/HW Inputs' should return a logical value.
If you see this error, close and reopen the model.