k-Wave Toolbox Previous   Next

getkWavePath

Return pathname to the k-Wave Toolbox

Syntax

path = getkWavePath()
path = getkWavePath(folder_name)

Description

getkWavePath returns the full pathname to the root directory in the k-Wave Toolbox using the slash direction native to the users operating system. If a folder_name string is provided, this is appended to the pathname.

Optional Inputs

folder_name

folder name string to append to the pathname

Outputs

path

full pathname to the root directory in the k-Wave Toolbox


© 2009-2014 Bradley Treeby and Ben Cox.