export_Stimulation: Function to export a Stimulation

Description Usage Arguments Value Author(s) Examples

Description

This function exports a Stimulation as a .STI file.

Usage

1
export_Stimulation(object, file.name)

Arguments

object

Stimulation to export

file.name

character name of the .FLT file that will contain the Stimulation properties.

Value

The function creates a new txt file containing the Stimulation properties.

Author(s)

David Strebler, University of Cologne (Germany).

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
example <- default_Stimulation('example')
file.name <- 'example'

## Not run: 
export_Stimulation(example, file.name) # uncomment

## End(Not run)

# There is now an 'example.EXI' file in the 'working directory'.
# This file is a classical .txt file despite the extension.

file <- paste(getwd(),'/', file.name,'.EXI', sep="")
print(file)
# readLines(file)

gadaviel/LumReader documentation built on May 16, 2019, 5:33 p.m.