which pem is called by pem_
古いコメントを表示
Hi while I was reading the pem_.m in R2012a\toolbox\ident\ident@idpoly\pem_.m, I had a hard time figuring out which pem is called by pem_.m (Line 68). How does the Matlab m file decide which directory to look for those overload methods?
Thanks,
Richard
2 件のコメント
Wayne King
2012 年 5 月 22 日
You mean the call:
[SSData, Info] = pem(SSData, DataStruct, Orders, Options);
Richard
2012 年 5 月 22 日
回答 (3 件)
Wayne King
2012 年 5 月 22 日
0 投票
It's calling
matlab\toolbox\ident\ident\pem.m
2 件のコメント
Richard
2012 年 5 月 23 日
Walter Roberson
2012 年 5 月 23 日
Did you
rehash toolbox
after you made the change?
Walter Roberson
2012 年 5 月 23 日
Use the extended "which" syntax:
which fun(a,b,c,...) displays the path to the specified function with the given input arguments. For example, which feval(g), when g=inline('sin(x)'), indicates that inline/feval.m would be invoked. which toLowerCase(s), when s=java.lang.String('my Java string'), indicates that the toLowerCase method in class java.lang.String would be invoked.
Wayne King
2012 年 5 月 23 日
How about just using
dbstop in FILESPEC
to set a breakpoint for pem.m?
2 件のコメント
Walter Roberson
2012 年 5 月 23 日
Put a breakpoint at the call to pem(), and use F11 to step into the file.
Richard
2012 年 5 月 23 日
カテゴリ
ヘルプ センター および File Exchange で Transfer Function Models についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!