Python and MATLAB, both

A console that does not make you choose which language's habits to bring.

Both sets of habits

  • From Python — it reads like a REPL. Type a variable and its value prints; matrices print as nested lists.
  • From MATLAB — a statement ending in ; is silent when it succeeds, and matrices are written and stored in MATLAB syntax.

It is a calculator, a scripting surface and the headless interface, with 62 commands alongside the maths.

A response you can check by hand

$ ICoreBlocks --console "G = tf([1],[1 1]); y = step(G, 5, 6); y.values()"
[[0], [0.632121], [0.864665], [0.950213], [0.981684], [0.993262]]

Those are the samples of 1 − e−t at t = 0…5 — the step response of 1/(s+1), and the curve drawn on the home page. Note both dialects in one line: the MATLAB-style matrix literals and the silencing semicolons, and a Python-style call and repr.

Quick Code
The page's own line, then a matrix and its inverse — typed into Quick Code. Both dialects are visible at once: MATLAB-style literals and silencing semicolons, Python-style calls and repr.

Headless is the same console

--console "<command>" runs one command and exits. Everything the window does has a console equivalent, so a model can be opened, configured, run, read and exported from a build script — and every transcript in the documentation is a real run of exactly that form.

It is also where diagrams are built

The block-diagram statements are evaluated before the maths grammar, so block(...), connect(...) and the rest are understood here too. That is the same language an agent writes.

See also: AI agents that edit the diagram  ·  The maths in one place

Get started

See it run on your own model.

Download the application from the customer portal, or read the documentation first — the manual, every block with its measured response, and the full command reference are public.