Enriching MATLAB with aspect-oriented features for developing embedded systems |
| |
Affiliation: | 1. “Department of Electrical Engineering and Computers, University of Medicine, Pharmacy, Sciences and Technology of Targu Mures, Nicolae Iorga st., No.1, 540088 Targu Mures, Romania |
| |
Abstract: | This article presents an approach to enrich the MATLAB1 language with aspect-oriented modularity features, enabling developers to experiment different implementation characteristics and to acquire runtime data and traces without polluting their base MATLAB code. We propose a language through which programmers configure the low-level data representation of variables and expressions. Examples include specifically-tailored fixed-point data representations leading to more efficient support for the underlying hardware, e.g., digital signal processors and application-specific architectures, without built-in floating point units. This approach assists developers in adding handlers and monitoring features in a non-invasive way as well as configuring MATLAB functions with optimized implementations. Different aspect modules can be used to retarget common MATLAB code bases for different purposes and implementations. We validate the proposed approach with a set of representative examples where we attain a simple way to explore a number of properties. Experiment results and collected aspect-oriented software metrics lend support to the claims on its usefulness. |
| |
Keywords: | Aspect-oriented programming MATLAB Embedded systems |
本文献已被 ScienceDirect 等数据库收录! |
|