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 件のコメント

Rik
Rik 2018 年 5 月 10 日
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