How get state-space model from simulink model
Show older comments
Hello.
How can I get a state space model from simulink power_PSS model? power_PSS is a Kundur two area model. I tried to use linmod() and linmod2() but get error message
??? Error using ==> fileparts at 17 Input must be a row vector of characters.
Error in ==> load_system at 19 [path, sys, ext] = fileparts(sys); %#ok<NASGU>
Error in ==> getLinNormalModeBlocks at 22 load_system(mdl);
Error in ==> dlinmod at 107 [normalblks,normalrefs] = getLinNormalModeBlocks(model);
Error in ==> linmod at 60 [varargout{1:max(1,nargout)}] = dlinmod(model, Ts, varargin{:}, Args);
Thank you!
2 Comments
Kaustubha Govind
on 20 Oct 2011
What is the exact command that you are using? It seems like there could be some special characters in the file name you are providing to LINMOD.
Aleksey
on 24 Oct 2011
Accepted Answer
More Answers (0)
Categories
Find more on Trimming and Linearization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!