1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Insights 5 Common MATLAB Error Messages and How to Fix Them - Comments

  1. May 19, 2015 #1

    kreil

    User Avatar
    Gold Member

  2. jcsd
  3. May 19, 2015 #2
    Great resource! Members feel free to add your own error messages you come across often!
     
  4. May 26, 2015 #3
    FUN must be a function, a valid string expression, or an inline function object.
     
  5. May 26, 2015 #4

    kreil

    User Avatar
    Gold Member

    Good one! This message is returned by some functions that accept a function handle as an input if you don't specify it correctly.

    (You might recall that function handles are the current standard, and they replaced inline function objects several years ago)

    Here is an example of a way this message can arise using FMINSEARCH and how to fix it:

    http://www.mathworks.com/matlabcentral/newsreader/view_thread/166230
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: 5 Common MATLAB Error Messages and How to Fix Them - Comments
Loading...