Use data from excel as Power on Three Phase RLC Loead

Hello, I imported an excel with the daily home electricity consume, I want to use it as a variable on the Three Phase RLC Load block. I used the1-D Lookup table and Sinks/out, the signal is imported correctly, but when i run the simulation it sends me this message Undefined function 'ans' for input arguments of type 'Simulink.Signal'. What would be the correct variable configuration?

Answers (1)

I understand, you are importing data from excel and using it as a variable in Simulink. While running the simulation, you get the error: Undefined function 'ans' for input arguments of type 'Simulink.Signal' . Kindly follow the following link to identify possible reasons and workarounds for this error.

Products

Release

R2021b

Answered:

on 3 Jun 2022

Community Treasure Hunt

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

Start Hunting!