Effacer les filtres
Effacer les filtres

Unrecognized function or variable 'dudx'.

5 vues (au cours des 30 derniers jours)
Amir Hossein Ghezelbash
Amir Hossein Ghezelbash le 10 Mar 2022
Commenté : Jon le 10 Mar 2022
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 commentaires
Torsten
Torsten le 10 Mar 2022
Yes, but I think it's only a variable name, not a function.
Jon
Jon le 10 Mar 2022
Yes it is just a local variable name in their example, not a function.

Connectez-vous pour commenter.

Réponse acceptée

Jon
Jon le 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 commentaire
Amir Hossein Ghezelbash
Amir Hossein Ghezelbash le 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

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by