Question:

While using the MATLAB program,when i use the "lookfor" command, y does it take so much time to show results?

by  |  earlier

0 LIKES UnLike

is there any way of reducing the time for display of the search results?

[P.S. i got 2.4ghz processor(P4) with 512 mb of ram running the MATLAB 6.5 program,so i guess my system requirements are apt for proper running of the program]

any way of resolving the conflict will be greatly appreciated,if possible..if anyone can provide step by step guidelines, i would be obliged..thnx

 Tags:

   Report

4 ANSWERS


  1. I HATE MATLAB


  2. this takes a long time because matlab is searching through all of the files in your path, and you must have quite a few. Not sure why anyone would be doing this often, perhaps there is an alternate way of finding the code you are looking for.

    You can reduce the size of your path. Beyond this, locations in your path that are slower (like on a network drive, or a usb drive) will slow down lookfor more than local paths.

    Some alternate options might include using a different search function: external to matlab (like google desktop on windows, or grep in unix) or internal to matlab such that you can use lookfor and specify a list of folders that is not == your path (you would loop through the list of folders, use dir to find a list of .m files, open each and search the first line for the specified string).  

  3. Hai my friend.

    I work on MATLAB it come in my sylabus. It really nice language. But i never use LOOKFOR command. So i dont have any idea,

    ...Jiya...

  4. Try pulling up the graphical help browser by typing "doc" at the command prompt. Then go to the 'search' tab at left and type in the keyword(s) you're looking for. That is usually a much faster way to go.

Question Stats

Latest activity: earlier.
This question has 4 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions