Unrecognized function or variable 'dudx'.

10 views (last 30 days)
Hello everyone.
I used to work with built-in function 'dudx' a couple of times, but yesterday when i started to work with it again ,i get an error for no reason and the error is : Unrecognized function or variable 'dudx'.
i tryed to clear all variables ,literally everything from workspace,functions and my files . but still it's not working.
thanks for any help :)
  6 Comments
Torsten
Torsten on 10 Mar 2022
Yes, but I think it's only a variable name, not a function.
Jon
Jon on 10 Mar 2022
Yes it is just a local variable name in their example, not a function.

Sign in to comment.

Accepted Answer

Jon
Jon on 10 Mar 2022
As far as I can tell, unless it is in a toolbox that I don't have there is no built in MATLAB function called dudx.
If you think you have a function that you or someone in your group has written with this name then you need to find out where the m file dudx.m is stored on your harddrive and use MATLAB's path function to set the path to that folder (or run in that folder).
  1 Comment
Amir Hossein Ghezelbash
Amir Hossein Ghezelbash on 10 Mar 2022
Hello and thanks for your responce...
if You check on 'pdepe' documantation( MATLAB help) you will see 'dudx' as an input.
And i aslo checked 'dudx' in help of MATLAB and yes its a function you can call it with two input arguments
dudx(x1,x2)...
But IDK why it's not working for me

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!