Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -222,16 +222,17 @@ def add_behavior_model(

## Step 1 — Add the model
Call `add_model` with path="{model_path}".
- .slx / .mdl — Simulink (analysis required).
- .sic — Simulink implementation container (pre-compiled, ports already defined).
- .fmu — Functional Mock-up Unit (FMU)
- .slx / .mdl — Simulink model (model analysis required).
- .sic — Simulink implementation container.
- .bsc — Bus Simulation Container.

## Step 2 — Analyze (Simulink only)
Call `analyze_models` to detect input/output ports and create model port blocks.
Skip for .sic/.bsc (already analyzed).

## Step 3 — Inspect
- `list_models` — confirm the model and its analysis state.
- `list_models` — confirm the model and its model analysis state.
- `list_model_ports` with model_name="{model_name}" — the available model ports.

## Step 4 — Expose ports in the signal chain
Expand Down
2 changes: 1 addition & 1 deletion ConfigurationDeskMCP/sources/tools/model_topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
name="add_model",
description=(
"Add a behavior model file to the project's model topology. "
"SUPPORTED FORMATS: .slx/.mdl (Simulink), .sic (pre-compiled SIC), .bsc (Bus Simulation Container). "
"SUPPORTED FORMATS: .slx/.mdl (Simulink), .sic (Simulink implementation container), .bsc (Bus Simulation Container). "
"For .sic/.bsc files, analysis is skipped since ports are already defined. "
"For Simulink models, set analyze=true (default) to detect model ports. "
"WORKFLOW: add_model → analyze_models → create_application_process → "
Expand Down