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

 Respuesta aceptada

Cris LaPierre
Cris LaPierre el 5 de Dic. de 2020

1 voto

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 comentarios

zaira rincon
zaira rincon el 5 de Dic. de 2020
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?
Cris LaPierre
Cris LaPierre el 5 de Dic. de 2020
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.
zaira rincon
zaira rincon el 5 de Dic. de 2020
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
zaira rincon
zaira rincon el 5 de Dic. de 2020
i just think that ej_circuito is name of the variable but i'm not sure of it
Cris LaPierre
Cris LaPierre el 5 de Dic. de 2020
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.
zaira rincon
zaira rincon el 5 de Dic. de 2020
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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Etiquetas

Preguntada:

el 5 de Dic. de 2020

Editada:

el 5 de Dic. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by