主要内容

bellhopConfiguration

R2026b

Configure bellhopModel to work with Bellhop installation

Since R2026b

    Description

    Add-On Required: This feature requires the Underwater Acoustic Channels add-on.

    bellhopConfiguration displays the current path to the Bellhop executable.

    bellhopConfiguration(ExecutablePath=bhpath) sets the path to the Bellhop executable.

    example

    bhc = bellhopConfiguration returns the previously set path to the Bellhop executable, if it exists.

    Examples

    collapse all

    To use this function, you must first have Bellhop installed. Configure MATLAB® to point to the Bellhop executable.

    bellhopConfiguration(ExecutablePath="\path\to\bellhop.exe")

    Confirm the path was set correctly.

    bhc = bellhopConfiguration
    
      bhc = '\path\to\bellhop.exe'

    Input Arguments

    collapse all

    Path to Bellhop executable, specified as a string or character vector.

    Data Types: char | string

    Output Arguments

    collapse all

    Previously set Bellhop configuration, returned as a character vector.

    More About

    collapse all

    Version History

    Introduced in R2026b