Learn R Programming

LumReader (version 0.1.0)

export_Stimulation: Function to export a Stimulation

Description

This function exports a Stimulation as a .STI file.

Usage

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.

Examples

Run this code
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)

Run the code above in your browser using DataLab