# \#mtk-connect

**URL:** https://discourse.julialang.org/tag/mtk-connect/1701.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Nested loop in @mtkmodel / Matrix manipulation](https://discourse.julialang.org/t/nested-loop-in-mtkmodel-matrix-manipulation/130133)

<div class="topic-metadata">

**Author:** [@madtorresga](https://discourse.julialang.org/u/madtorresga)\
**Replies:** 2\
**Last updated:** [June 23, 2025, 4:56pm UTC](https://discourse.julialang.org/t/nested-loop-in-mtkmodel-matrix-manipulation/130133 "2025-06-23T16:56:09Z")

</div>

Hi :slight\_smile: I’m trying to automate the battery cells’ creation from an already defined ECM model: const Qs = \[4.8 4.4 4.2 ; 3.7 3.5 3.3\] @mtkmodel Series\_Connection begin @variables begin v\_max …

---

## [ERROR: UndefVarError: \`connect\` not defined in \`Main\`](https://discourse.julialang.org/t/error-undefvarerror-connect-not-defined-in-main/123244)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 3\
**Last updated:** [November 29, 2024, 1:45pm UTC](https://discourse.julialang.org/t/error-undefvarerror-connect-not-defined-in-main/123244 "2024-11-29T13:45:21Z")

</div>

Hi, I’m reproducing the Acausal Modeling for Nonlinear Control and Analysis # =========================================================== # Example from https://www.youtube.com/watch?v=l3odTEy69UU&t=2488s # ============…
