If you are have a fatal error when running soldes.m under Release 12 of MATLAB that makes reference to LP.M, then it is due to a conflict of variables in some of the fixes/updates that MathWorks has supplied for Release 12. To remedy, go into the two m-files magckt2.m and soldata.m and change all occurences of the variable lp to something such lpp. ( Sorry, I did not have the variable copyrighted.