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.

Pref::kernel

Version number of the presently used kernel

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

Pref::kernel()
Pref::kernel(<BitsInLong>)
Pref::kernel(<BuildNr>)

Description

The version numbers of the kernel and the library may differ. Pref::kernel refers to the kernel, whereas the call version() returns the version number of the installed MuPAD® library.

Examples

Example 1

Here the version numbers of kernel and library do not differ:

Pref::kernel() = version()

Example 2

A 32-bit architecture:

Pref::kernel(BitsInLong)

Example 3

At the time of this writing, kernels build number was 42703:

Pref::kernel(BuildNr)

Options

BitsInLong

Pref::kernel(BitsInLong) returns the number of bits of a long integer number. On a 64-bit architecture it returns 64, otherwise 32.

BuildNr

The kernel has an additional build number which enables the developers to identify the exact sources for this kernel.

Return Values

Version number: a list of three nonnegative integers or a number.

See Also

MuPAD Functions

Was this topic helpful?