I need information regarding usage of command 'Searchdepth'.From MATLAB help I understood that 'Searchdepth' command restricts the search depth to the specified level.

5 views (last 30 days)
Hi,
I need information regarding usage of command 'Searchdepth'.From MATLAB help I understood that 'Searchdepth' command restricts the search depth to the specified level.
As per my understanding ,'SearchDepth',1 limits the search to top level in MATLAB2006b.But the same commond in 2011b is generating
following error : 'SearchDepth must be a non-negative integer'.
Please suggest the reason for this error and also provide solution for this problem.
Reagrds, Amrutraj K

Answers (1)

ES
ES on 24 Jul 2014
I use 2011b. find_system('SearchDepth',1) works fine and is the same as how it worked in R2006. My only guess is that you might have missed some comma etc if you have used other search parameters or some decimal etc.

Categories

Find more on MATLAB 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!