Referenced model output of three phase voltage and current are 65535
13 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
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.
See Also
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!