matlab-fit-simbiology-model
Fit SimBiology model parameters to data — fitproblem, population NLME, virtual patients, and NCA. Use when asked to fit, estimate, calibrate, or compute PK metrics.
npx skills add matlab/matlab-agentic-toolkit --skill matlab-fit-simbiology-model --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Fit SimBiology Models Estimate parameters from data using `fitproblem`, fit population models with NLME, generate virtual patients, and compute NCA metrics. ## When to Use - "fit", "estimate", "calibrate" model parameters - Parameter estimation from experimental/observed data - Population PK/PD, NLME, mixed effects, inter-individual variability - Virtual patients, virtual cohorts - NCA, AUC, Cmax, Tmax, half-life, clearance - Keywords: "fit", "estimate", "calibrate", "population", "NCA", "AUC" ## When NOT to Use - Model construction or diagram (use `matlab-build-simbiology-model`) - Simulation without fitting (use `matlab-simulate-simbiology-model`) - Sensitivity analysis (use `matlab-simulate-simbiology-model`) ## Must-Follow Rules ### 1. Use `fitproblem` for parameter estimation Always use `fitproblem` instead of calling `sbiofit` or `sbiofitmixed` directly. `fitproblem` provides a unified, declarative interface: ```matlab prob = fitproblem; prob.Model = model; prob.Data = data; prob.ResponseMap = "Species = DataColumn"; prob.Estimated = estimatedInfo({'param'}, 'Bounds', [lo hi]); results = fit(prob); ``` Do NOT call `sbiofit(model, data, ...)` or `sbiofitmixed(model, data, ..
- When to Use
- When NOT to Use
- Must-Follow Rules
- 1. Use fitproblem for parameter estimation
- 2. Fitting requires groupedData, NOT a plain table
- 3. ResponseMap maps model outputs to data columns
- 4. Always set bounds
- 5. Use log transform for rate constants
- 6. Error models for population fitting
- 7. NCA requires sbioncaoptions object
- Decision Table
- fitproblem Workflow (Preferred)
- Key fitproblem properties
- Estimation algorithms
What does the matlab-fit-simbiology-model skill do?
Fit SimBiology model parameters to data — fitproblem, population NLME, virtual patients, and NCA. Use when asked to fit, estimate, calibrate, or compute PK metrics.
How do I install it?
Run `npx skills add matlab/matlab-agentic-toolkit --skill matlab-fit-simbiology-model --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/matlab-agentic-toolkit, a repository with 868 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
