getting error unrecognized method property or field

조회 수: 30 (최근 30일)
Ehtisham
Ehtisham 2024년 2월 5일
댓글: Voss 2024년 2월 6일
unrecognized method property or field

채택된 답변

Voss
Voss 2024년 2월 5일
편집: Voss 2024년 2월 5일
The code says
L_Active = app.RelativeLigandConcentrationActivetoEC50EditField.Value;
but that component is called
app.RelativeLigandConcentrationtoActiveEC50EditField
note "Activeto" vs "toActive".
There are several other places where app properties and variables are misspelled in the code. I've fixed all the ones I found and attached a new version of the app.
It's a good idea to copy and paste the component name, rather than typing it all out manually, to decrease the chance of making a typing error, especially when the name is very long (and/or use shorter names).
  댓글 수: 2
Ehtisham
Ehtisham 2024년 2월 6일
I shared a corefile and matlab app file. after these values
% Time when ligand added and removed
T_startLigand = app.TstartLigandEditField.Value; % Start time of receptor/Ligand Activation
T_endLigand = app.TendLigandEditField.Value; % Duration of receptor/Ligand Activation
i just want to add a core file . Is it possible kindly guide.
Voss
Voss 2024년 2월 6일
There were several inputs and outputs missing from your Corefile definition. (I know when an input is missing because I get an error about an undefined variable in Corefile, and I know when an output is missing because I get an error about an undefined variable in the app function after Corefile is called.)
I added them. Please see attached app and Corefile.m file.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by