Learn R Programming

matlabr (version 1.5.2)

rmat_to_matlab_mat: Convert R matrix to matlab matrix

Description

This function takes in an R matrix then turns it into a matrix in matlab

Usage

rmat_to_matlab_mat(x, matname = NULL, transpose = FALSE)

Arguments

x

matrix of values

matname

Object in matlab to be assigned

transpose

Transpose the matrix

Value

Character scalar of matlab code