Skip to contents

This function renames an existing acoustic variable

Usage

EVRenameAcousticVar(EVFile, acoVarName, newName)

Arguments

EVFile

Echoview file COM object

acoVarName

The acoustic variable name to which a new variable will be added.

newName

New name of the acoustic variable

Value

list with three elements: $varObj acoustic variable COM object; $objName new name of the variable object;$msg message vector

Note

The function will check if the proposed new variable new already exists. If the porposed new name exists, then the new name will be chnaged to 'newName duplicate name'.