Unfortunately, there were some issues with the server farm that hosts this 
e-list and my original reply was never sent. Sorry about that.

Please see the documentation for the loadmd() 
<http://www.pserc.cornell.edu//matpower/docs/ref/matpower6.0/most/loadmd.html> 
function. You will see that profiles is the 6th input argument, not the 2nd.

    Ray



> On Nov 12, 2017, at 11:35 AM, Mohammed Alhajri <[email protected]> wrote:
> 
> My code is
> 
> define_constants;
> mpopt = mpoption('verbose', 1);
> mpc = loadcase('case5');
> profiles = getprofiles('ex_load_profile');
> mpopt = mpoption(mpopt,'most.dc_model', 1);
> mdi = loadmd(mpc,profiles);
> mdo = most(mdi, mpopt);
> most_summary(mdo);
> 
> MATLAB gave me two errors:
> 
> Error using loadgenericdata (line 147)
> loadgenericdata: data not found in any of the specified formats
> 
> Error in loadmd (line 107)
>     transmat = loadgenericdata(transmati, type);
>  
> help me please
> 
> On 10 November 2017 at 20:29, Mohammed Alhajri <[email protected] 
> <mailto:[email protected]>> wrote:
> i want to add a load profile which had multiple periods to my input function, 
> i wrote
> 
> mdi=loadmd(mpc,profiles)
> 
> but I gave me an error! 
> 
> mpc is defined as case5
> and
> the profile is ex_load_profile
> 

Reply via email to