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 Kommentar

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

Antworten (0)

Diese Frage ist geschlossen.

Gefragt:

am 10 Mai 2018

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by