fdaMatlabPath: Add 'fdaM' to the Matlab path

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/fdaMatlabPath.R

Description

Write a sequence of Matlab commands to fdaMatlabPath.m in the working directory containing commands to add fdaM to the path for Matlab.

Usage

1
fdaMatlabPath(R.matlab) 

Arguments

R.matlab

logical: If TRUE, include '~R/library/R.matlab/externals' in the path. If(missing(R.matlab)) include '~R/library/R.matlab/externals' only if R.matlab is installed.

Details

Value

A character vector of Matlab addpath commands is returned invisibly.

Author(s)

Spencer Graves with help from Jerome Besnard

References

Matlab documentation for addpath and startup.m.

See Also

Matlab, dirs

Examples

1
2
3
4
# Modify the Matlab startup.m only when you really want to,
# typically once per installation ... certaintly not
# every time we test this package.
fdaMatlabPath()

Example output

Loading required package: splines
Loading required package: Matrix

Attaching package: 'fda'

The following object is masked from 'package:graphics':

    matplot

Loading required namespace: R.matlab

fda documentation built on May 2, 2019, 5:12 p.m.