Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

fp::bottom

Function that never returns

MuPAD® notebooks are not recommended. Use MATLAB® live scripts instead.

MATLAB live scripts support most MuPAD functionality, though there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

Syntax

fp::bottom()

Description

fp::bottom() never returns because it raises an error.

Environment Interactions

Raises an error in any case.

Examples

Example 1

Calling fp::bottom is equivalent to calling error with a fixed error string:

fp::bottom()
Error: The bottom is reached. [fp::bottom]

fp::bottom is used to indicate the bottom of a recursion inside a traperror call. In most cases, programs not using fp::bottom will be more readable.

Return Values

This function never returns.

Was this topic helpful?