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

In summary, the conversation revolved around the topic of effective communication in the workplace. The participants discussed the importance of clear and concise communication, active listening, and avoiding assumptions. They also touched on the use of technology in communication and the need for face-to-face interactions. Overall, the key takeaway was the significance of effective communication in building strong relationships and promoting productivity in the workplace.
  • #1
kreil
Insights Author
Gold Member
668
68
kreil submitted a new PF Insights post

5 Common MATLAB Error Messages and How to Fix Them

matlaberrors-80x80.png


Continue reading the Original PF Insights Post.
 
  • Like
Likes happyprimate, scottdave and Greg Bernhardt
Physics news on Phys.org
  • #2
Great resource! Members feel free to add your own error messages you come across often!
 
  • #3
FUN must be a function, a valid string expression, or an inline function object.
 
  • #4
SivaChinna said:
FUN must be a function, a valid string expression, or an inline function object.

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
 

Similar threads

Replies
11
Views
2K
Replies
2
Views
1K
Replies
1
Views
4K
Replies
6
Views
3K
Replies
2
Views
3K
Back
Top