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

 採用された回答

Cris LaPierre
Cris LaPierre 2020 年 12 月 5 日

1 投票

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 件のコメント

zaira rincon
zaira rincon 2020 年 12 月 5 日
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 2020 年 12 月 5 日
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 2020 年 12 月 5 日
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 2020 年 12 月 5 日
i just think that ej_circuito is name of the variable but i'm not sure of it
Cris LaPierre
Cris LaPierre 2020 年 12 月 5 日
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 2020 年 12 月 5 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

製品

リリース

R2020b

質問済み:

2020 年 12 月 5 日

編集済み:

2020 年 12 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by