Skip to Main Content Skip to Search
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

File Exchange Pick of the Week

October 2nd, 2007

Cool feature: Run configurations

This cool feature will be useful to many MATLAB users that write functions and want an easy way to test them in multiple configurations.

I like to hit F5 to save and run a script, but in the past if you had a function, you could not do this since you usually need to give inputs to a function. Run configurations allow you to run a little script to feed the function inputs. Want to test your new function with a few small data sets easily? Normally you might make a script to do that, and then have to write a new one for when you want to test against the full data set. With run configurations you can easily change between the two and run with a click of F5.

Video Content

Find the files here.

Other videos have been gathered here:
http://blogs.mathworks.com/pick/category/video/

Other cool feature posts have been gathered here:
http://blogs.mathworks.com/pick/category/cool-feature/

3 Responses to “Cool feature: Run configurations”

  1. Ken Orr replied on :

    Great video Doug!

    You can check out the debut blog entry for this feature here:

    http://blogs.mathworks.com/desktop/2007/09/17/running-functions-with-input-from-the-editor-in-r2007b/

    -Ken

  2. Paul replied on :

    Dear Doug

    I have always written script files to drive my functions if I want to test them. I could then easily copy both these functions and script files from one PC to another and continue working on the functions. When using the “Run Configurations” method, I would like to know where this configuration file is stored so that I can copy it together with my function files from one PC to another.

    Regards
    Paul

  3. Ken Orr replied on :

    Hi Paul,

    Your absolutely right! Configurations should be more visible than they are now. In fact, we’re actively working on a solution to this, which would deliver the visibility and transportability you desire.

    I can’t promise when it will be released, but I can tell you it is my main focus right now!

    -Ken

Leave a Reply


Bob, Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

  • Doug: Gamal, That is something that can be done. Do you have the Data Acquisition toolbox? What have you tried, can...
  • Gamal: Dear Sir, I am working in a project that i use an Analogue to digital converter HW to transfer analogue...
  • Berdakh Abibullaev: Great! This is very convinient to use. But I use matlab codes for opening the data and...
  • jiro: Mahmood, It’s probably best to ask the author of the tool for specific questions regarding the...
  • Mahmood: Hi there, when I run this program application, it gives me the following error ??? Error using ==>...
  • Brett: Hi M, Back from vacation…just downloaded DEMORSE, and ran it on the WAV file I created for this post....
  • Quan Quach: Doug is my favorite MathWorks blogger. Loren is also my favorite. That Mike guy not so bad. So Arthur got...
  • Doug: Maram, You might want to look at the Database toolbox. http://www.mathworks .com/products/databa se/ Doug
  • Bob: Nayaki, if you need additional help using a File Exchange submission, you might try contacting the author. You...
  • maram: hi, I have a question I have a matlab code and i want to read a data from SQL server database to use it in...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.

Related Topics