Learn R Programming

matlabr (version 1.5.2)

rvec_to_matlabcell: Convert R vector to matlab cell

Description

This function takes in an R vector then turns it into a cell

Usage

rvec_to_matlabcell(x, sep = ";", matname = NULL, transpose = FALSE)

Arguments

x

Character vector of values

sep

separator to use to separate values. Defaults to ";" argument

matname

Object in matlab to be assigned

transpose

Transpose the cell

Value

Character scalar of matlab code