![]() |
MATLAB中是否有类似“ whereis”的内容?
我正在处理的代码中有这样一行:
feval('func_name', myArg); 它有效,但是我想知道func_name在哪里。我无法进入feval看看它在哪里找到func_name 。代替(或除了)仅做func_name ,我如何让MATLAB告诉我它在哪里找到的? [B]回答:[/B] which是您要寻找的功能。 有关更多信息,请参见: [URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/which.html"]http[/URL] : [URL="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/which.html"]//www.mathworks.com/access/helpdesk/help/techdoc/ref/which.html[/URL] 。例如: fullpath = which( 'func_name' ) [url=https://stackoverflow.com/questions/3238055]更多&回答...[/url] |
所有时间均为北京时间。现在的时间是 01:21。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.