Package: matconv 0.4.2

matconv: A Code Converter from the Matlab/Octave Language to R

Transferring over a code base from Matlab to R is often a repetitive and inefficient use of time. This package provides a translator for Matlab / Octave code into R code. It does some syntax changes, but most of the heavy lifting is in the function changes since the languages are so similar. Options for different data structures and the functions that can be changed are given. The Matlab code should be mostly in adherence to the standard style guide but some effort has been made to accommodate different number of spaces and other small syntax issues. This will not make the code more R friendly and may not even run afterwards. However, the rudimentary syntax, base function and data structure conversion is done quickly so that the maintainer can focus on changes to the design structure.

Authors:Siddarta Jairam [aut, cre], David Hiebeler [ctb]

matconv_0.4.2.tar.gz
matconv_0.4.2.zip(r-4.5)matconv_0.4.2.zip(r-4.4)matconv_0.4.2.zip(r-4.3)
matconv_0.4.2.tgz(r-4.5-any)matconv_0.4.2.tgz(r-4.4-any)matconv_0.4.2.tgz(r-4.3-any)
matconv_0.4.2.tar.gz(r-4.5-noble)matconv_0.4.2.tar.gz(r-4.4-noble)
matconv_0.4.2.tgz(r-4.4-emscripten)matconv_0.4.2.tgz(r-4.3-emscripten)
matconv.pdf |matconv.html
matconv/json (API)

# Install 'matconv' in R:
install.packages('matconv', repos = c('https://sidjai.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sidjai/matconv/issues

On CRAN:

matlabtranslation

5.59 score 10 stars 26 scripts 223 downloads 4 exports 0 dependencies

Last updated 4 years agofrom:1049157a78. Checks:8 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 04 2025
R-4.5-winOKFeb 04 2025
R-4.5-macOKFeb 04 2025
R-4.5-linuxOKFeb 04 2025
R-4.4-winOKFeb 04 2025
R-4.4-macOKFeb 04 2025
R-4.3-winOKFeb 04 2025
R-4.3-macOKFeb 04 2025

Exports:makeDataMapmakeFuncMapsmakeSliceMapmat2r

Dependencies:

matconv: The use of syntax converters

Rendered frombasicSyntax.rmdusingknitr::rmarkdownon Feb 04 2025.

Last update: 2019-01-06
Started: 2015-07-17

matconv: Converting Function calls

Rendered fromfunctionCalls.rmdusingknitr::rmarkdownon Feb 04 2025.

Last update: 2019-01-06
Started: 2015-08-26

matconv: How to convert matlab code

Rendered fromoverallUse.rmdusingknitr::rmarkdownon Feb 04 2025.

Last update: 2021-05-12
Started: 2016-01-11