It's not necessary to pass any input to mpoption. You may have zero input arguments for mpoption (which then just sets the default options).
mpoption() is a routine that sets the options for tuning the solver behavior and for controlling the output. Run 'help mpoption' at the command prompt for more details. My guess is that you don't have MatPower directory in your Matlab path. Use Matlab's addpath() routine to include MatPower directory in the Matlab path. If you get any error then please send the ENTIRE error log, commands that you used, any other supplementary information. Simply saying 'it gives errors' or 'it doesn't work' doesn't help us to help you. Shri On Jun 7, 2014, at 2:25 PM, "Deepak Thakur" <[email protected]<mailto:[email protected]>> wrote: use some command in mpotion. mpopt is variables name.keyword is mpoption. mpopt=mpoption('command'); now use mpopt as required, based on command given Thank You Deepak NIT Warangal. On Sat, Jun 7, 2014 at 10:51 PM, divu8320 . <[email protected]<mailto:[email protected]>> wrote: Thanks Deepak. Actually when I use mpopt =mpoption , the program gives error. It says undefined. On 7 Jun, 2014 9:01 PM, "Deepak Thakur" <[email protected]<mailto:[email protected]>> wrote: by using mpoption keyword you can use the matpower according to your problem definition. ex- if u want to use Fast decoupled Load flow technique, you have to change the algorithm used in LF by using mpoption in ur code. same goef for other problem like OPF Thank You Deepak NIT Warangal. On Sat, Jun 7, 2014 at 6:58 PM, divu8320 . <[email protected]<mailto:[email protected]>> wrote: What is the meaning of mpopt and mpoption keywords
