.php xmlns="http://www.w3.org/1999/.php"> - k-Wave MATLAB Toolbox
k-Wave Toolbox

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. Note, folder_name is not checked for existence, the string is simply appended to the pathname with a trailing slash.

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
<.php>