CivilKit Calcs

A MATLAB-compatible option for engineering calculations

MATLAB is good at numerical code. A calculation report is a different job: units that are checked, formulas a reviewer can read, results that are tied to the inputs, a document to hand over. CivilKit Calcs does the second job and now runs MATLAB-language code in the same sheet, so the numerical part and the report live in one file.

It is not a replacement for MATLAB, and this page is about where each fits.

Open this sheet in Calcs Open a blank sheet

What overlaps

The sample sheets show beam diagrams, a frame eigenproblem, a damped oscillator, a plate surface and a symbolic beam derivation, each written as a MATLAB block with Calcpad lines checking it.

What the sheet adds

What MATLAB or Octave still does better

A sensible split: do the heavy lifting in MATLAB or Octave if you have them, and use the sheet when the result has to sit in a reviewed calculation with units, or when you do not have a licence to hand. Code written in a block can be saved back out as ordinary .m files.

MATLAB is a trademark of The MathWorks, Inc. CivilKit Calcs is not made by, affiliated with or endorsed by The MathWorks. The name is used here only to say which language the code is written in.

Questions

Can I use it instead of MATLAB?

For scripts built on the core language and common numerical functions, often yes. For toolboxes, Simulink, apps and classdef code, no. Try your own script before you commit to it.

Will my existing .m files run?

Many will. Open the file, or put function files in the library. The errors name the missing function or the line that failed, so you can see quickly whether yours is in scope.

How is it different from Octave?

Octave is a full, mature language implementation for the desktop. This runs in a browser tab, inside a calculation sheet with units and reports, and covers less of the language.

Is it affiliated with MathWorks?

No. MATLAB is a trademark of The MathWorks, Inc.

Open this sheet in Calcs Open a blank sheet