Referenced model output of three phase voltage and current are 65535

13 views (last 30 days)
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.

Answers (1)

Sabin
Sabin on 18 Dec 2025 at 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 Comment
Priyanka
Priyanka on 19 Dec 2025 at 5:47
Left side block is having inputs of three phase voltage and current whereas right side block is PIL block

Sign in to comment.

Categories

Find more on Electrical Block Libraries 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!