Question about matpower with Simulink

2013-07-23 Thread Fang-Yu Liu
Hi all, I'm trying to add power flow analysis to my simulink model. I added a MATLAB function in simulink and run matpower command such as load case, runpf, eta. However, I received this errors: Try and catch are not supported for code generation. Function 'loadcase.m' (#54.4881.5039), line 12

Re: Question about matpower with Simulink

2013-07-23 Thread Fang-Yu Liu
It suggests the use of > 'extrinsic' to avoid this issue. > > Shri > > On Jul 23, 2013, at 5:31 PM, Fang-Yu Liu wrote: > >> Hi all, >> >> I'm trying to add power flow analysis to my simulink model. >> I added a MATLAB function in simulink

Convert matpower .m file to PSAT format

2014-02-28 Thread Fang-Yu Liu
Hi, Does anybody knows how to convert a matpower .m file to PSAT format so that I can input to PSAT? I’m trying to compare the result between this two. Thanks.

Re: Convert matpower .m file to PSAT format

2014-03-03 Thread Fang-Yu Liu
y. 2014-02-28 13:51 GMT-06:00 Fang-Yu Liu mailto:fan...@mit.edu>>: Hi, Does anybody knows how to convert a matpower .m file to PSAT format so that I can input to PSAT? I’m trying to compare the result between this two. Thanks.