Projects per year
Abstract
Many computations in science and engineering are implemented in the programming language MATLAB. However the high-level meaning of such MATLAB programs stays informal, which can lead to implementation errors and bugs, for example relating to incompatible units of measure for quantities, or incompatible sizes of matrices at runtime. We are in the process of developing LabMate, which is a tool for reifying current informal programmer practices into a language of formal comments. These comments are ignored by MATLAB, but acted on and checked by LabMate. We outline the design principles behind LabMate, our current progress, and our future plans.
Original language | English |
---|---|
Article number | 101460 |
Journal | Measurement: Sensors |
Early online date | 25 Jan 2025 |
DOIs | |
Publication status | E-pub ahead of print - 25 Jan 2025 |
Funding
This work was undertaken jointly by the Mathematically Structured Programming Group of the University of Strathclyde and the National Physical Laboratory's Data Science department as part of Data Science's Tools for Trustworthiness National Measurement System (NMS) project 2023–2024.
Keywords
- MATLAB
- Software correctness
- Dimensional consistency
- Type theory
Fingerprint
Dive into the research topics of 'LabMate: a prospectus for types for MATLAB'. Together they form a unique fingerprint.Projects
- 1 Finished
-
Trusted Systems
Ghani, N. (Principal Investigator), McBride, C. (Co-investigator) & Nordvall Forsberg, F. (Co-investigator)
National Physical Laboratory NPL
1/10/19 → 30/09/24
Project: Research