Initializing a variable in a script to a value obtained from a function

Hey , I have a question, how do you initialize a variable in a script to a value obtained from a function. I have obtained power loss in the loadflow function. I want to initialize the base power loss in a script to the value obtained from the power loss, how should I go about.Kindly help.

1 个评论

Have a read here and here. It will greatly improve your chances of getting an answer.

回答(0 个)

此问题已关闭。

提问:

2018-5-10

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by