RunMat
  • Pricing
RunMat
GitHub
GitHub
DownloadSign InTry in Browser
DesktopRuntimeServer
RunMat

Run math blazing fast

GitHubX (Twitter)LinkedIn

Company

  • About
  • Pricing
  • Contact

Explore

  • RunMat for academia
  • RunMat vs MATLAB Online
  • Benchmarks

Get product updates and release notes from the RunMat team.

© 2026 Dystr · Made withfor the scientific community.

RunMat™ is a registered trademark of Dystr, Inc. MATLAB® is a registered trademark of The MathWorks, Inc. RunMat is not affiliated with, endorsed by, or sponsored by The MathWorks, Inc.

LicensePrivacy
/
See all docs
Builtin Reference
    • damp
    • db
    • dcgain
    • feedback
    • impulse
    • isstable
    • lqr
    • nyquist
    • pole
    • pzmap
    • rlocus
    • ss
    • step
    • stepinfo
    • tf
    • zero

stepinfo — Compute step-response metrics from SISO models or sampled responses.

stepinfo(sys) simulates a supported SISO transfer-function model and summarizes its response, while stepinfo(y,t,yfinal) analyzes supplied samples. The result is a structure of double-valued timing, extrema, and percentage metrics. Typed-integer sampled response, time, steady-state, and threshold values are available in RunMat mode when every value crosses the binary64 metric boundary exactly.

Syntax

info = stepinfo(sys)
info = stepinfo(y, t)
info = stepinfo(y, t, yfinal)

Inputs

NameTypeRequiredDefaultDescription
sysAnyYes—SISO tf model.
yNumericArrayYes—Response samples.
tNumericArrayNo—Time samples.
yfinalNumericScalarNo—Steady-state value.

Returns

NameTypeDescription
infoAnyStep-response metrics struct.

Errors

IdentifierWhenMessage
RunMat:stepinfo:InvalidArgumentInputs do not match supported stepinfo invocation forms.stepinfo: invalid argument
RunMat:stepinfo:InvalidDataResponse, time, or final-value data is malformed.stepinfo: invalid response data
RunMat:stepinfo:InvalidSystemSystem input is not a supported SISO tf object.stepinfo: invalid system
RunMat:stepinfo:UnsupportedModelSystem model form is unsupported.stepinfo: unsupported model
RunMat:stepinfo:InternalResponse simulation or metric assembly failed.stepinfo: internal error

How stepinfo works

  • Supports stepinfo(sys) for SISO tf models supported by step.
  • Supports sampled forms stepinfo(y), stepinfo(y, t), and stepinfo(y, t, yfinal).
  • Returns a struct with RiseTime, TransientTime, SettlingTime, SettlingMin, SettlingMax, Overshoot, Undershoot, Peak, PeakTime, and SteadyStateValue.
  • Uses a default settling-time threshold of 2%.
  • Accepts the name-value option 'SettlingTimeThreshold' with a scalar value between 0 and 1.
  • Rise-time crossings are linearly interpolated between adjacent samples.
  • Typed integer y, t, and yfinal values are one named RunMat extension; typed integer SettlingTimeThreshold is independently gated so each argument role has a precise compatibility disposition.
  • All admitted typed integers are checked for exact binary64 representation before data is gathered or metrics are computed. The current implementation supports SettlingTimeThreshold; other public name-value options remain general control-surface work rather than implied integer support.

GPU memory and residency

stepinfo returns a host struct.

Examples

Metrics from a transfer function

s = tf('s');
T = feedback(2/(s + 1), 1);
info = stepinfo(T);
info.Overshoot

Expected output:

ans = 0

Metrics from sampled data

t = 0:0.1:5;
y = 1 - exp(-t);
info = stepinfo(y, t, 1);
info.SteadyStateValue

Expected output:

ans = 1

How RunMat validates stepinfo

stepinfo validates system inputs, sampled data shape, finite values, time ordering, final value, and settling-threshold options. Tests cover sampled metrics, system metrics through step and dcgain, and VM control workflows.

  • Implementation: `crates/runmat-runtime/src/builtins/control/stepinfo.rs`

See Correctness & Trust for the full methodology and coverage table.

Using stepinfo with coding agents

Open a RunMat example with live inputs, then ask the agent to explain how stepinfo changes the result.

Run a small stepinfo example, explain the result, then change one input and compare the output.

FAQ

Does stepinfo require a transfer-function model?⌄

No. It can also operate on sampled response vectors.

Are the metrics exact analytical values?⌄

For model inputs, metrics are computed from the sampled step response. Crossings are linearly interpolated from those samples.

Related Control functions

damp · db · dcgain · feedback · impulse · isstable · lqr · nyquist · pole · pzmap · rlocus · ss · step · tf · zero

Open-source implementation

Unlike proprietary runtimes, every RunMat function is open-source. Read exactly how stepinfo is executed, line by line, in Rust.

  • View the source for stepinfo in Rust on GitHub
  • Learn how the RunMat runtime works
  • Found a bug? Open an issue with a minimal reproduction.

About RunMat

RunMat is an open-source runtime that executes MATLAB-syntax code blazing on any GPU. It is licensed under the Apache 2.0 license.

  • RunMat automatically optimizes your math for GPU execution on Apple, Nvidia, and AMD hardware. No code changes needed. Simulations that took hours now take minutes.
  • Start running code in seconds. RunMat runs in the browser, on the desktop, or from the CLI. No license server, no IT ticket.

Getting started · Benchmarks · Pricing

Download RunMat

Download RunMat for full performance, or use RunMat in your browser for zero setup.

Download RunMatOpen Sandbox
On this page
  • Syntax
  • Inputs
  • Returns
  • Errors
  • How stepinfo works
  • GPU memory and residency
  • Examples
  • Metrics from a transfer function
  • Metrics from sampled data
  • How RunMat validates stepinfo
  • Using stepinfo with coding agents
  • FAQ
  • Related Control functions
  • Open-source implementation
  • About RunMat