RunMat
  • Pricing
RunMat
GitHub
GitHub
Sign inTry in browser
DesktopRuntimePhysicsCADAdministrationAgent

Get RunMat updates

New releases, guides and examples.

Product+
  • Runtime
  • GPU
  • Parallel
  • Compile
  • Interop and MEX
  • Simulation
  • MCAD
  • ECAD
  • Enterprise
  • AI integrations
  • Pricing
  • Download
Math+
  • Signal processing
  • Linear algebra
  • Statistics
  • Curve fitting
  • Differential equations
  • Control systems
  • Optimization
  • Finance
  • Data and tables
  • Plotting
Physics+
  • Simulation overview
  • Structural
  • Thermal
  • Electromagnetic
  • Joule heating
  • Thermal stress
  • Acoustics
  • Fluid flow
  • Conjugate heat transfer
  • Fluid–structure
  • What is FEA
Industries+
  • Aerospace
  • Automotive and transportation
  • Defense
  • Electronics and semiconductors
  • Energy
  • Industrial machinery
  • Life sciences
  • Quantitative finance
Learn+
  • Guides
  • Docs
  • Function reference
  • Language reference
  • Migration guide
  • Changelog
  • MATLAB Online
  • MATLAB AI agent
  • For students
Compare+
  • RunMat vs MATLAB
  • RunMat vs Ansys
  • RunMat vs SOLIDWORKS
  • RunMat vs Altium
  • RunMat vs Cadence
  • RunMat vs COMSOL
  • RunMat vs Python
  • RunMat vs Julia
  • RunMat vs Physics AI
  • RunMat vs Octave
  • Benchmarks
  • MATLAB alternatives
  • All comparisons
Company+
  • About
  • Blog
  • Contact
  • Source code↗
  • License
  • Privacy
  • Terms

Product

  • Runtime
  • GPU
  • Parallel
  • Compile
  • Interop and MEX
  • Simulation
  • MCAD
  • ECAD
  • Enterprise
  • AI integrations
  • Pricing
  • Download

Math

  • Signal processing
  • Linear algebra
  • Statistics
  • Curve fitting
  • Differential equations
  • Control systems
  • Optimization
  • Finance
  • Data and tables
  • Plotting

Physics

  • Simulation overview
  • Structural
  • Thermal
  • Electromagnetic
  • Joule heating
  • Thermal stress
  • Acoustics
  • Fluid flow
  • Conjugate heat transfer
  • Fluid–structure
  • What is FEA

Industries

  • Aerospace
  • Automotive and transportation
  • Defense
  • Electronics and semiconductors
  • Energy
  • Industrial machinery
  • Life sciences
  • Quantitative finance

Learn

  • Guides
  • Docs
  • Function reference
  • Language reference
  • Migration guide
  • Changelog
  • MATLAB Online
  • MATLAB AI agent
  • For students

Compare

  • RunMat vs MATLAB
  • RunMat vs Ansys
  • RunMat vs SOLIDWORKS
  • RunMat vs Altium
  • RunMat vs Cadence
  • RunMat vs COMSOL
  • RunMat vs Python
  • RunMat vs Julia
  • RunMat vs Physics AI
  • RunMat vs Octave
  • Benchmarks
  • MATLAB alternatives
  • All comparisons

Company

  • About
  • Blog
  • Contact
  • Source code↗
  • License
  • Privacy
  • Terms
GitHubXLinkedIn

© Dystr, Inc. · RunMat v0.7.1, Nov 17, 2026

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.

/
    • Sheets, hierarchy and channels
    • Components and library parts
    • Nets and net classes
    • Variants
    • Rules and checks
    • Simulation sections and measures
    • Board layout
    • Fabrication outputs and netlists
    • Import
    • The parts library
    • Footprints
Docs>CAD>ECAD reference

Nets and net classes

Connections

connect = [<endpoints>] joins every endpoint it lists into one net. A net.<name> endpoint in the list names the net.

EndpointNames
U1.VINa pin by name
"C1.1"a pin by number
net.GND, "net.+3V3"a net; quote a name with characters outside letters, digits and _
port.INa port of the sheet
bus.D.D0a member of a bus
harness.USB.DPa member of a harness
instance.pwr.VINa port of a placed block

Net settings

A net joins pins. global = true joins nets of the same name across every sheet, as power rails and ground do; power_flag = true marks a net as driven by a source outside the schematic, such as a connector. A net class carries the rules its nets share:

net_class power = { track_width = "0.40 mm", clearance = "0.20 mm" }
net_class analog = { clearance = "0.20 mm" }
interface usb2 = { members = [DP, DN], diff_pairs = [[DP, DN]] }

The board reads each class's track width and clearance, and DRC checks them.

A blanket inside a sheet gives several nets one class and set of parameters:

sheet power {
    blanket rails = { nets = [VIN, GND, "+3V3"], class = power, max_length = 50 mm }
}

Each listed net takes the class unless its own net statement names one; ERC notes each net that keeps a class of its own (blanket-class-kept) and warns about a listed net with no pins (blanket-net-empty). A name that isn't a net on the sheet is an error. The schematic draws a dashed box round the listed nets' wires, labels and pins, captioned with the blanket's class and parameters.

Buses, interfaces and harnesses

bus D = [D0, D1, D2, D3] groups nets under one name; bus.D.D2 is one member. An interface is a bundle type with named members and differential pairs, and harness USB = usb2 declares a harness of that type, whose members connect as harness.USB.DP.

Differential pairs

diff_pair USB = { p = net.DP, n = net.DN } pairs two nets. The board routes the pair together and checks its gap, its uncoupled length and its skew. See Board layout.

On this page
  • Connections
  • Net settings
  • Buses, interfaces and harnesses
  • Differential pairs