Build, modify, and diagram SimBiology models (requires SimBiology). Use when asked to create or edit a SimBiology model or .sbproj project (compartments, species, reactions, doses, rules, events, variants, one- or two-compartment PK models via PKModelDesign, PBPK submodels) or to lay out its diagram in Model Builder. Hierarchical submodels and equivalence sets need R2026b+.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Simbiology Build Model?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/matlab-simbiology-build-model)
---
name: simbiology-build-model
description: "Build, modify, and diagram SimBiology models (requires SimBiology). Use when asked to create or edit a SimBiology model or .sbproj project (compartments, species, reactions, doses, rules, events, variants, one- or two-compartment PK models via PKModelDesign, PBPK submodels) or to lay out its diagram in Model Builder. Hierarchical submodels and equivalence sets need R2026b+."
license: https://www.mathworks.com/content/dam/mathworks/license/pmrl/license.md
metadata:
author: MathWorks
version: "2.1"
---
# Build SimBiology Models
API reference, helper functions, and patterns for building, modifying, and
diagramming SimBiology models. Diagram/layout features require the Model
Builder app and are activated only when the user requests visual output.
## When to Use
- Building or modifying SimBiology models (compartments, species, reactions, parameters, rules, events, doses, observables, variants)
- Opening, saving, or loading models in the Model Builder / Analyzer apps
- Designing or adjusting diagram layouts
- Keywords: "build", "create", "modify", "add compartment/species/reaction", "diagram", "layout"
## When NOT to Use
- Simulation and analysis (use `simbiology-simulate-model`)
- Parameter fitting, population modeling, NCA (use `simbiology-fit-model`)
## Must-Follow Rules
### 1. Use `project_path` for helper scripts
`SKILL_DIR` is the folder that contains this SKILL.md. Pass `project_path` when calling `evaluate_matlab_code` with helper functions:
```
project_path: <SKILL_DIR>/scripts
```
That makes `scripts/` the current folder, so give data and model files by absolute path.
Always use MATLAB file operations (`copyfile`, `dir`, `exist`) instead of
Bash commands (`cp`, `ls`) for file manipulation — Bash path expansion and
special characters trigger permission denials.
### 2. Only open the Builder when needed
Do NOT open the Model Builder by default. Open it when:
- The user explicitly requests a diagram, layout, or visual
- The input is an `.sbproj` file — use `loadViaBuilder` to preserve
diagram layout/styling (`sbioloadproject` loses this data)
A model is fully functional without a diagram — it can be simulated,
fitted, and analyzed using only the model object on `sbioroot`.
### 3. Model construction uses standard SimBiology API
Build models using `addcompartment`, `addspecies`, `addreaction`, etc.
directly. This works in all environments: desktop, headless, batch, remote.
```matlab
model = sbiomodel('MyModel'); % keep this variable and pass it to every later call
comp = addcompartment(model, 'Central', 1);
addspecies(comp, 'Drug', 100);
addparameter(model, 'ke', 0.1);
rx = addreaction(model, 'Central.Drug -> null');
kl = addkineticlaw(rx, 'MassAction');
kl.ParameterVariableNames = {'ke'};
```
For **standard PK models** (1- or 2-compartment with standard dosing and
elimination), use `references/pk-library-guidance.md` as the reference for
correct parameterization, naming, and rules. When no diagram is needed,
call `PKModelDesign` directly. When the user requests a diagram, construct
the model manually following the same PK library conventions but use
`addAndPositionCompartment` for layout control (see Rule 8b).
### 4. Write reactions in the biological forward direction
The diagram renders **arrows on products** and **plain lines on reactants**
(based on the forward direction of the reaction string). Writing a reaction
backwards produces incorrect arrows even if the kinetics are equivalent.
```matlab
% CORRECT — L and R get plain lines, C gets an arrow
addreaction(model, 'cell.L + cell.R <-> cell.C');
% WRONG — same kinetics but L and R get arrows (they're "products" now)
addreaction(model, 'cell.C <-> cell.L + cell.R');
```
Guidelines:
- **Binding:** write `A + B -> C` (substrates on left, complex on right)
- **Degradation/elimination:** write `Drug -> null` (not `null -> Drug`)
- **Synthesis:** write `null -> mRNA` (not `mRNA -> null`)
- **Transport:** write `Source.Drug -> Dest.Drug` (source on left)
### 5. Always use qualified names for species and reaction-scoped parameters
Always reference species and reaction-scoped parameters by their **qualified name**. If any of the names are not valid MATLAB variable names, surround them with square brackets before building the qualified name.
- **Species:** `CompartmentName.SpeciesName` (e.g., `Central.Drug`, `Peripheral.[Drug-bound]`)
- **Reaction-scoped parameters:** `ReactionName.ParameterName` (e.g., `Elimination.ke`)
**Qualification is always exactly one level deep** — the immediate parent
compartment only. Multi-level paths like `Body.Central.Drug` are **invalid**
in reaction strings. This is never ambiguous because compartment names must
be unique within a model (SimBiology enforces this regardless of nesting
depth). So `Central.Drug` is always sufficient.
**Compartment naming rules:**
- Names must be unique within a model — no two compartments can share a
name even at different nesting levels (separate submodels may reuse names)
- Compartments, parameters and submodels share one set of names in a model, so
a compartment can't have the same name as a submodel (R2026b+)
- If you need hierarchical naming, use underscores: `Body_Central` (not
nested compartments both named `Central`)
- Species names must be unique within a compartment but can repeat across
different compartments (disambiguated by `Compartment.Species`)
**Hierarchical models (R2026b+):** Use `addmodel` (NOT `addcompartment`) to
create hierarchy levels. Compartments within a flat model do not produce
nested FullyQualifiedNames and cannot participate in equivalence sets.
```matlab
% CORRECT — creates a true submodel with nested FQN
liver = addmodel(parentModel, "Liver");
c = addcompartment(liver, "Blood"); % FQN: ParentModel.Liver.Blood
% WRONG — just adds a compartment, no hierarchy
c = addcompartment(parentModel, "Liver"); % FQN: ParentModel.Liver (flat)
```
Reactions within a submodel use one-level-deep `Compartment.Species` names
(reactions are always local to a single model). To mark quantities in different
submodels as equivalent, use `addequivalence`. Extend an existing equivalence set
with `add(eqSet, species)` rather than creating a second set (a quantity can't
belong to two sets).
`sbiosimulate` returns a 4th output (`fullyQualifiedNames`) for hierarchical
models — use it to index simulation results unambiguously. Doses, variants and
`StatesToLog` need full names from the root, and a submodel's own variants and
doses aren't applied when the parent runs.
See `references/hierarchical-models-guidance.md` for the full API.
### 6. Use modern property names (`Value`, `Units`, `Constant`)
SimBiology objects (species, compartments, parameters) share a unified
property interface. Always use the modern names:
| Modern | Legacy alias (avoid) | Applies to |
|--------|------------------------|------------|
| `Value` | `InitialAmount`, `Capacity` | species, compartments, parameters |
| `Units` | `InitialAmountUnits`, `CapacityUnits`, `ValueUnits` | species, compartments, parameters |
| `Constant` | `ConstantAmount`, `ConstantCapacity`, `ConstantValue` | species, compartments, parameters |
```matlab
sp.Value = 100; sp.Units = 'milligram'; sp.Constant = false; % same names for comp and p
```
### 7. Clean up only what you created
`sbioreset` deletes every model in the session, including the user's. Don't
call it unless the user asks. Delete the models you created, and close only the
apps you opened (check `isAppOpen` before opening one):
```matlab
closeSimBiologyApps("builder"); % only if you opened it; no argument closes both apps
delete(model); % each model you created
numel(sbioroot().Models) % models left; sbioroot needs () before indexing
```
Close an app before deleting the model it shows. Deleting the model (or
`sbioreset`) doesn't close the app, so it would stay open on a model that no
longer exists.
### 8. Diagram rules (only when user requests a diagram)
The following rules apply ONLY when the user asks for a diagram or layout.
Skip all of these for pure model construction.
**Model size limit (precondition):** Layout helpers (`repositionAllReactions`,
`checkDiagramLayout`) bail out above **400 total blocks** (species +
reactions). For large models, use centroid-based reaction positioning
(place each reaction node at the centroid of its reactant and product
species) instead of `repositionAllReactions`. For rearranging existing
large-model layouts, follow the evacuation procedure in
`references/evacuation-procedure-guidance.md`. See also Recipe H in
`references/pbpk-layout-guidance.md` for tissue sub-compartment PBPK
layouts (ADC / mAb models).
**a. Use `addAndPositionCompartment` for diagram layout**
When building a diagram, use `addAndPositionCompartment` instead of raw
`addcompartment` + `setBlock` — it atomically creates, positions, and
validates each compartment.
```matlab
% speciesInfo: cell array of structs with .Name, .Value, .Position
speciesInfo = {
struct('Name', 'Drug', 'Value', 100, 'Position', [40, 62, 50, 16]);
struct('Name', 'DrugBound', 'Value', 0, 'Position', [140, 62, 100, 16])
};
% AutoExpand assumes vertically stacked species; turn it off for a single row
[comp, sp] = addAndPositionCompartment(model, 'Central', 1, [20, 20, 280, 100], speciesInfo, AutoExpand=false);
% sp is a SimBiology Species ARRAY — index with sp(1), sp(2), NOT sp{1}
```
**b. Diagram build order**
1. Open the Builder first (`openLiveBuilder(model)`) — the diagram does not
exist until the Builder creates it, and `simbio.diagram.*` calls fail
without it (`addAndPositionCompartment` opens it if needed).
2. Plan `[x y w h]` positions for ALL compartments up front (gaps per the
Inter-Compartment Spacing table in `references/layout-strategy-guidance.md`)
3. Build ONE compartment at a time with `addAndPositionCompartment`
4. Add ALL parameters (including rule LHS targets), reactions, rules, doses, events
5. `repositionAllReactions(model)` then `checkDiagramLayout(model)` — fix until zero violations
6. `positionAncillaryBlocks(model)` — positions rule/parameter blocks in a column to the right
**Existing model (compartments already exist):** `addAndPositionCompartment`
errors on duplicate names. Open the Builder, then follow
`references/evacuation-procedure-guidance.md` Phases 1–3: stage reactions and
compartments far away first, then place each compartment and its species.
Placing compartments directly errors ("Compartments cannot overlap") whenever
a target spot overlaps a block that hasn't moved yet.
**c. Leave at least 80 px between connected compartments**
Inter-compartment reaction nodes (15×15) are placed in these gaps by
`repositionAllReactions`. Without adequate gaps, reaction lines cross
through compartment blocks. For compartments with many shared reactions
(3+), increase to 120 px.
**d. Post-placement validation is mandatory**
After placing all blocks:
```matlab
repositionAllReactions(model);
results = checkDiagramLayout(model);
```
If `results.nTotal > 0`, do NOT blindly loop `computeSafeReactionPosition`
over all reactions — it is a per-reaction local optimizer that can make
things worse by creating new crossings while fixing others. Instead,
follow the heuristic-based approach in the **Resolving Line-Through
Violations** section of `references/layout-strategy-guidance.md`:
analyze violations by `blockedBy`, move high-violation blocks, expand
congested compartments, then adjust proximity bias for isolated cases.
After all violations are resolved:
```matlab
positionAncillaryBlocks(model); % must run LAST, after all objects exist
```
**e. Always use the safe-open pattern for the Builder**
Never call `simBiologyModelBuilder(model)` without first checking
`isAppOpen('builder')`. If it is open with a different model, close it,
wait 2s, then reopen.
Use the `openLiveBuilder` helper or implement the pattern inline:
```matlab
openLiveBuilder(model); % preferred — handles everything
```
**f. Never close the Builder to make modifications**
The model handle is on `sbioroot` — all code works on the live model and
updates the diagram in real time. Only close when the user explicitly asks.
## Helper Functions (`scripts/`)
### Diagram & Builder (only when user requests diagram/layout)
| Function | Signature | Purpose |
|----------|-----------|---------|
| `addAndPositionCompartment` | `[comp,sp] = addAndPositionCompartment(model,name,cap,compPos,speciesInfo,Name=Value)` | Create compartment + species and position atomically. **`sp` is a Species array — index with `sp(1)`, NOT `sp{1}`.** Options: `FontWeight` (`"bold"`), `TextLocation` (`"center"`), `Padding` (20), `AutoExpand` (true), `AutoFixPositions` (true) |
| `checkDiagramLayout` | `results = checkDiagramLayout(model)` | Containment + line-through-block + near-duplicate + out-of-bounds + submodel-overlap checks |
| `computeSafeReactionPosition` | `pos = computeSafeReactionPosition(model,rxn)` | Returns a crossing-avoiding reaction node position (you `setBlock` it); centroid only above 400 blocks |
| `repositionAllReactions` | `nFixed = repositionAllReactions(model)` | Batch-reposition all reactions (up to 3 passes) |
| `positionAncillaryBlocks` | `n = positionAncillaryBlocks(model)` | Position rule/parameter blocks in a column right of the model bounding box |
| `openLiveBuilder` | `openLiveBuilder(model)` | Open Builder with safe-open pattern |
| `closeSimBiologyApps` | `closed = closeSimBiologyApps(apps)` | Close the Builder and/or Analyzer if open (`"builder"`, `"analyzer"`; default both) |
| `isAppOpen` | `tf = isAppOpen(appName)` | Check if Builder/Analyzer is open |
| `loadViaBuilder` | `model = loadViaBuilder(filePath)` | Load .sbproj preserving diagram (opens the Builder). Errors if the Builder is already open, since closing it drops unsaved changes. Save first or ask the user, then pass `CloseOpenBuilder=true` |
| `saveViaBuilder` | `saveViaBuilder(filePath)` | Save from Builder preserving diagram |
| `lineIntersectsRect` | `hit = lineIntersectsRect(x1,y1,x2,y2,rect)` | Shared geometry helper; `rect` is corners `[x1 y1 x2 y2]`, not a Position |
### `checkDiagramLayout` output
```matlab
results.nTotal % total violations (must be 0 before presenting); -1 = skipped (>400 blocks)
results.nContainment % species outside parent compartment
results.nLineThrough % connection lines through unrelated blocks
results.nOverlap % block CENTERS <10px apart (partial overlaps are not caught)
results.nOutOfBounds % blocks >100px outside the compartment bounding box, or negative
results.nSubmodelOverlap % submodel blocks overlapping any other block (R2026b+); lines through them count in nLineThrough
```
## API Quick Reference
### Model
- `sbiomodel(name)` — create a model. Keep the returned object in a variable, pass it to later calls, and don't clear it. Names aren't unique, so to be able to find a model you created if the variable is lost, tag it with a unique reference when you create it:
```matlab
ref = "agent-" + string(datetime("now", "Format", "yyyyMMddHHmmssSSS"));
model.Tags = [model.Tags; ref]; % R2026a: model.Tag = char(ref)
model = sbioselect(sbioroot, 'Type', 'sbiomodel', 'Where', 'Tags', 'contains', ref); % R2026a: 'Tag', char(ref)
```
A reloaded saved copy carries the same tag; give it a new one
- `sbioloadproject('file.sbproj')` — returns a **struct** whose fields are the saved variable names (e.g. `mw_sbmod1`), not model names. A project can hold several models; pick by class:
```matlab
proj = sbioloadproject('file.sbproj');
vals = struct2cell(proj);
model = vals{find(cellfun(@(x) isa(x,'SimBiology.Model'), vals), 1)};
```
- Loading `.mat` files (NOT `.sbproj`):
```matlab
s = load('model.mat');
fn = fieldnames(s); model = s.(fn{1});
```
- `copyobj(model)` — deep clone (no diagram); `copyobj(model, parent)` — into hierarchy, add `"force"` to auto-rename on conflict, e.g. when duplicating a submodel in its own parent (R2026b+); `verify(model)` — check consistency
- `delete(model)` — remove a model you created. `sbioreset` deletes every model in the session; use it only when the user asks
- **Inspect a model:** `getequations(model)` prints the ODEs, reaction rates, rules, events, observables and parameter values, including reaction-scoped parameters. Display `model` for a summary of its components
### Compartments
- `addcompartment(model, name, value)`
- `comp.Value`, `comp.Constant`, `comp.Units`, `model.Compartments`
- **Units consistency:** With unit conversion on (`cs.CompileOptions.UnitConversion = true`, where `cs = getconfigset(model)`), every compartment, species, parameter and active observable needs units (use `'dimensionless'` where needed). Off by default.
### Species
- `addspecies(comp, name, value)`
- `sp.Value`, `sp.Units`, `sp.BoundaryCondition`, `sp.Constant`
- `sp.Parent` — parent compartment (`sp.Parent.Name` is its name); `model.Species`
### Parameters
- `addparameter(model, name, value)` — model-scoped
- `addparameter(kineticLaw, name, value)` — reaction-scoped
- `p.Value`, `p.Units`, `p.Constant`; `model.Parameters` (model-scoped), `kl.Parameters` (reaction-scoped, on the kinetic law)
### Expressions (reactions, rules, events)
- `addreaction(model, 'A -> B')` — forward; `'A <-> B'` — reversible
- `kl = addkineticlaw(rx, 'MassAction'); kl.ParameterVariableNames = {'k1'}` (or `{'kf','kr'}` for reversible)
- Multi-compartment: `'Central.Drug -> Peripheral.Drug'`
- `addrule(model, 'x = expr', ruleType)` — `'initialAssignment'`, `'repeatedAssignment'`, `'rate'`
- **Rule/reaction exclusivity:** A species that is the LHS of a rate rule or repeated assignment rule cannot also appear as a reactant or product in a reaction. Use one or the other to govern its dynamics.
- **Rule LHS requirement:** The LHS must be an existing species, parameter,
or compartment with `Constant = false`. Create the parameter *before* the
rule (not after as a fix — this ensures diagram blocks exist for layout):
```matlab
p = addparameter(model, 'RO', 0); p.Constant = false;
addrule(model, 'RO = Complex / (Target + Complex)', 'repeatedAssignment');
```
- `addevent(model, 'trigger', {'action1', 'action2'})`
- **Event action requirement:** Any parameter modified in an event action
must have `Constant = false` (parameters default to `true`):
```matlab
p = sbioselect(model, 'Type', 'parameter', 'Name', 'kgrow');
p.Constant = false;
addevent(model, 'Tumor.Cancer < 1e6', {'kgrow = kgrow * 0.5'});
```
### Observables
- `addobservable(model, name, expression)` — use `./` and `.*` for element-wise ops
- **StatesToLog caveat — MUST do when observables reference parameters:**
If the observable expression references a constant parameter or
compartment (e.g., `'0.693 ./ ke'`, `'Drug ./ Central'`), it must be added to `StatesToLog` before
simulating, or the simulation errors because the observable uses a
component that isn't logged. Fix:
```matlab
cs = getconfigset(model, 'active');
cs.RuntimeOptions.StatesToLog = [cs.RuntimeOptions.StatesToLog; ...
sbioselect(model, 'Type', 'parameter', 'Name', 'ke')];
```
Do NOT add observables themselves to `StatesToLog` — it only accepts
species, parameters, and compartments.
- Other simulation settings (stop time, solver, sampling results): see `simbiology-simulate-model`
- Values at given times: set `cs.SolverOptions.OutputTimes`. SimData repeats time points at dose events, so `interp1` on its `Time` errors
### Modifiers (doses, variants)
- `sbiodose(name, 'schedule')` / `sbiodose(name, 'repeat')`
- Schedule: `.TargetName`, `.Amount`, `.Time`, `.Rate`
- Repeat: `.TargetName`, `.Amount`, `.StartTime`, `.Interval`, `.RepeatCount`
- `adddose(model, d)` / `removedose(model, d)` or `delete(d)`
- `RepeatCount` counts doses after the first (`RepeatCount = 3` gives 4 doses)
- `v = addvariant(model, name)` then `addcontent(v, {'type','name','prop',val})`
- `v.Content`, `getvariant(model, name)`
### Selection & Tags
- `sbioselect(model, 'Type', type, 'Name', name)`
- For reactions: select by `'Name'`, or by `'Reaction'` using the exact stored string (`rx.Reaction`: qualified, e.g. `'Central.Drug -> null'`, whenever the model has more than one compartment)
- `comp.Tags = ["PK"; "organ"]` — assign multiple tags (R2026b+, replaces deprecated `Tag`). R2026a has only `comp.Tag = 'PK'`
- `sbioselect(model, "Where", "Tags", "contains", "PK")` — find by tag (R2026b+). R2026a: `sbioselect(model, 'Tag', 'PK')`
- `findUnusedComponents(model)` — find components that nothing in the model uses
- See `references/sbioselect-guidance.md` for `'Where'` matching, selecting within compartments, and what a search returns
## Core Patterns
### Model creation (standard — no diagram)
```matlab
model = sbiomodel('MyModel');
comp = addcompartment(model, 'Central', 1);
addspecies(comp, 'Drug', 100);
addparameter(model, 'ke', 0.1);
```
### Reactions
```matlab
% MassAction (always use qualified species names; name reactions you may look up later)
rx = addreaction(model, 'Central.Drug -> null', 'Name', 'Elimination');
kl = addkineticlaw(rx, 'MassAction');
kl.ParameterVariableNames = {'ke'};
% Custom rate
rx = addreaction(model, 'Central.E + Central.S <-> Central.ES');
rx.ReactionRate = 'kf*Central.E*Central.S - kr*Central.ES';
% Multi-compartment transfer
rx = addreaction(model, 'Central.Drug -> Peripheral.Drug');
% Species with invalid MATLAB variable names
rx = addreaction(model, 'Central.[Drug-bound] -> Central.[Drug-free]');
```
### Removing components
```matlab
% Delete reactions first: a species still used by a reaction is NOT deleted (warning only)
delete(sbioselect(model, 'Type', 'reaction', 'Name', 'Elimination'));
delete(sbioselect(model, 'Type', 'species', 'Name', 'Drug'));
removedose(model, model.Doses(1)); % or delete(model.Doses(1))
```
### Doses
```matlab
% Bolus
d = sbiodose('Dose', 'schedule');
d.TargetName = 'Central.Drug'; d.Amount = 100; d.Time = 0;
adddose(model, d);
% Repeat dose
d = sbiodose('RepeatDose', 'repeat');
d.TargetName = 'Central.Drug'; d.Amount = 50;
d.StartTime = 0; d.Interval = 8; d.RepeatCount = 3; % 4 doses total
adddose(model, d);
```
### Events, variants, observables
```matlab
% Event modifying a parameter — mark non-constant first
p = sbioselect(model, 'Type', 'parameter', 'Name', 'ke');
p.Constant = false;
ev = addevent(model, 'time >= 10', {'ke = ke * 2'}); ev.Name = 'EnzymeInduction';
% Event modifying a species (species default Constant=false — no extra step)
ev = addevent(model, 'time >= 10', {'Drug = 50'}); ev.Name = 'RescueDose';
v = addvariant(model, 'HighDose'); addcontent(v, {'parameter','ke','Value',0.5});
obs = addobservable(model, 'DrugConc', 'Drug ./ Central'); % log Central in StatesToLog (see caveat)
```
## Saving Models
- **Standard:** `save('mymodel.mat', 'model')` / `loaded = load('mymodel.mat'); model = loaded.model;` (simpler than `sbiosaveproject`). Loading a saved copy while the original is still in memory gives a second model with the same name. Use the object `load` returns; looking models up by name is then ambiguous.
- **With diagram (`.sbproj`):** `saveViaBuilder('name.sbproj')` (Builder open) / `loadViaBuilder(path)`
- **Headless `.sbproj`:** `sbiosaveproject(file, "varName")`. It takes workspace variable names and drops the diagram.
- **Switching models:** save → close Builder → `pause(2)` → `simBiologyModelBuilder(newModel)` (with the Analyzer open, call it with no argument). See `references/app-lifecycle-guidance.md`.
## Diagram Basics (only when user requests diagram/layout)
`Position` = `[x y width height]` where `(x, y)` is **top-left corner**.
Recommended sizes: Species at least `[50, 16]` (default is `[32, 16]`; scale by name length), Reaction `[15, 15]`, Rule `[20, 20]`.
Internal compartment padding: 30 px recommended (`addAndPositionCompartment` auto-fixes below its `Padding`, default 20). See `references/layout-strategy-guidance.md`
for sizing tables, species placement, ordering rules, and flow direction by model type.
## References
Load on demand for detailed guidance:
- `references/hierarchical-models-guidance.md` — submodels, equivalence sets, FQN naming, PBPK composition (R2026b+)
- `references/layout-strategy-guidance.md` — strategy selection, pre-build checklist, 7 recipes
- `references/pbpk-layout-guidance.md` — PBPK circulation and ACAT chain layouts
- `references/evacuation-procedure-guidance.md` — 4-phase rearrangement for existing models
- `references/sbioselect-guidance.md` — `sbioselect` matching rules and pitfalls
- `references/api-cheatsheet-guidance.md` — full simbio.diagram API (getBlock, setBlock, lines, clones)
- `references/app-lifecycle-guidance.md` — switching models, Analyzer coordination
- `references/diagram-styling-guidance.md` — colors, fonts, cloning mechanics
- `references/pk-library-guidance.md` — PKModelDesign for standard PK models
----
Copyright 2026 The MathWorks, Inc.
----