Thank's Mrs Ray, I try do this by other way, I put the variable Ybus as global and thus I already can invocate on my m.file.
Kind Regards, Rui Ferreira 2012/9/4 Ray Zimmerman <[email protected]> > You can call makeYbus directly as follows ... > > mpc = loadcase('case9'); > [Ybus, Yf, Yt] = makeYbus(mpc); > > If you need access to other variables, you can always set a breakpoint in > the Matlab debugger, then use Matlab's 'save' command to save the values of > the variables of interest into a .mat file that can be loaded and used in > your own code. > > -- > Ray Zimmerman > Senior Research Associate > 419A Warren Hall, Cornell University, Ithaca, NY 14853 > phone: (607) 255-9645 > > > > > On Aug 30, 2012, at 4:44 PM, Rui Ferreira wrote: > > > Dear all, > > I need to use on a m.file that I doing the matrix Ybus, what I have to do > to use this matrix on my m.file? > Thanks for any idea. > > > Best regards, > Rui Ferreira > > >
