Learn R Programming

matlabr (version 1.5.2)

rvec_to_matlab: Convert R vector to matlab cell mat

Description

This function takes in an R numeric and returns a status

Usage

rvec_to_matlab(x, row = FALSE, sep = NULL, matname = NULL)

Arguments

x

Numeric vector of values

row

Create row vector instead of column vector

sep

separator to use to separate cells. Will override row argument

matname

Object in matlab to be assigned

Value

Character scalar of matlab code