Referenced model output of three phase voltage and current are 65535

13 vues (au cours des 30 derniers jours)
Priyanka
Priyanka le 16 Déc 2025 à 11:05
Commenté : Priyanka le 19 Déc 2025 à 5:47
I had converted the matlab function block into referenced model for running in Processor-In-Loop (PIL) and I had kept the code in single format inside the function block. But when I ran the simulink model all the values of three phase voltage and current are 65535 but the speed was correct. So, how to get the exact values of three phase voltage and current.

Réponses (1)

Sabin
Sabin le 18 Déc 2025 à 11:27
This probably indicates a data type mismatch. Ensure that the voltage and current variables in the function block and referenced model use correct data type.
To get more help from the community it would be helpful to attach a model.
  1 commentaire
Priyanka
Priyanka le 19 Déc 2025 à 5:47
Left side block is having inputs of three phase voltage and current whereas right side block is PIL block

Connectez-vous pour commenter.

Catégories

En savoir plus sur Electrical Block Libraries dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by