getting error unrecognized method property or field
14 次查看(过去 30 天)
显示 更早的评论
unrecognized method property or field
0 个评论
采纳的回答
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 个评论
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 Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!