error message - Unrecognized function or variable ‘rec’.

조회 수: 3 (최근 30일)
Youngjae You
Youngjae You 2023년 5월 12일
댓글: Youngjae You 2023년 5월 12일
On running a NAC (non-compartmental analysis) with Simbiology, below message was seen. What does it meam? Everything looked good.
"Unrecognized function or variable 'rec'."
  댓글 수: 2
Arthur Goldsipe
Arthur Goldsipe 2023년 5월 12일
I see this variable mentioned in SimBiology's NCA code. But it's hard to tell what could be causing this specific error without more details. Can you share your version of MATLAB (for example, the output from running "ver")? And also can you share your SimBiology code or project that will reproduce this issue?
Youngjae You
Youngjae You 2023년 5월 12일
MATLAB Version 9.14 (R2023a)
SimBiology Version 6.4.1 (R2023a)
-------------------
Attached is the project file with the error. It was tried using SB Model Analysier.

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

답변 (2개)

Arthur Goldsipe
Arthur Goldsipe 2023년 5월 12일
Your NCA program is erroring because of problems with the first row in your data. If you change that first ID from 0 to 1, and that first Time from NaN to 0, then you can run the program without error. But please double-check that those are the values you intend.
As a side note, I would have expected you to receive a more informative error message for this mistake. I'll see if we can work on that.

Image Analyst
Image Analyst 2023년 5월 12일
You try to use the variable rec in your code, or try to call a function called rec. But that function or variable does not exist. Why do you think it should?
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

커뮤니티

더 많은 답변 보기:  SimBiology Community

카테고리

Help CenterFile Exchange에서 Scan Parameter Ranges에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by