Unrecognized function or variable 'ej_circuito'

there is the code that i have the problem that i dont know why.
code:
desempe_fenotipo=ej_circuito(fenotipo);
error shown :
Unrecognized function or variable 'ej_circuito'.
Please help me!!!!! I'm Beginner in this area please

 Accepted Answer

You are apparently trying to use a function (ej_circuito) that MATLAB cannot find. Ensure that this function is either defined at the bottom of your script as an in-file function, that the function file is located in your current folder, or is in a folder that is added to your MATLAB Path.
You can read more about function preference order here.

6 Comments

thanks cris i had just consider it. But still I have doubts about how to create a function for that ej_circuit because there are no parameters for that one. Do you know how to do it?
I know how to create a function. I don't have any idea what the ej_circuito function is supposed to do, though. Where did you get the code? From your first asking of this quesiton, I see that Walter mentioned he couldn't find this file anywhere.
yeah i asked to walter and he cant find anywhere.
well this script gave my teacher and i transcrypted it and i did but the first time i had en error with gadecode and i was looking for in this community and i saw walter's answer and i did but now i have this error but i dont how to create this function cuz i dont have any parameters for it
i just think that ej_circuito is name of the variable but i'm not sure of it
If it's a variable name, you never create it.
As for how to fix it, right now, we're all just guessing. It seems the person who knows is your teacher. Best to ask him/her for the missing details.
ok thank you very much i'm going to ask my teacher for this problem cuz i was looking for it everywhere and it wasnt helpfully.
thank you cris la pierre you give me a good suggestion.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Products

Release

R2020b

Community Treasure Hunt

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

Start Hunting!