Why do I receive an 'Invalid input argument of type 'double'. Input must be a structure or a Java or COM object' error while loading data in a simbiology fit program?

14 views (last 30 days)
Archishman Ghosh
Archishman Ghosh on 19 Oct 2021
Edited: Fulden Buyukozturk on 19 Oct 2021
I deviced a kinetic model using simbiology, simulated it and everything worked fine. Then I loaded a data set from excel containing three columns: ID, Time and concentration. I set ID as group, Time as independent and concentration as depended variables. But when I run the program it says
Invalid input argument of type 'double'. Input must be a structure or a Java or COM object.
I've also tried loading the data directly from the workspace and it gave the same error.
I converted the data to a structure and that is not listed as a valid input type while importing a dataset. I checked online tutorials and everyone seems to be able to load 'double' types.
The reaction is just A+B-->null
And dB/dt = -k*[B] and A is constant
  3 Comments

Sign in to comment.

Answers (1)

Fulden Buyukozturk
Fulden Buyukozturk on 19 Oct 2021
Edited: Fulden Buyukozturk on 19 Oct 2021
Are you running R2021b and is your dataset has only one group? If so, this is likely a known bug with the app that affects datasets with no group or one group.
You could use the command-line interface fitproblem instead of the app or run the app in R2021a. Sorry for the inconvenience.

Communities

More Answers in the  SimBiology Community

Community Treasure Hunt

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

Start Hunting!