Core

The Core module provides the fundamental building blocks of the Nelson environment.

It includes essential services for program execution, environment management, and system interaction.

Through this module, users can evaluate code dynamically, manage execution flow, query program state, and access key system information such as versioning, configuration, and licensing.

It also offers basic utilities for file identification, checksums, and terminal capabilities.

Together, these features form the foundation upon which all other modules and user-level functionality in Nelson are built.

Functions

  • banner - Shows Nelson banner.

  • crc32 - Get crc32 checksum.

  • eval - Evaluate Nelson code in string.

  • evalc - Evaluate Nelson code with console capture.

  • evalin - Evaluate Nelson code in string in an specified scope.

  • execstr - Execute Nelson code in strings.

  • exist - Check for the existence.

  • exit - Terminate Nelson program (same as quit)

  • feature - undocumented features.

  • inputname - Get variable name of function input.

  • isunicodesupported - Detect whether the current terminal supports Unicode.

  • license - Get license information for Nelson.

  • maxNumCompThreads - Set/Get maximum number of computional threads.

  • namelengthmax - Return the maximum variable name length.

  • nargin - Returns the number of input arguments.

  • narginchk - Checks the number of input arguments.

  • nargout - Returns the number of output arguments.

  • nargoutchk - Checks the number of output arguments.

  • nelsonappid - Returns nelson application ID

  • nelsonroot - Returns Nelson's root folder.

  • nfilename - Returns the name of the currently executing file.

  • mfilename - Returns the name of the currently executing file.

  • pause - Pauses script execution.

  • prefdir - Return the preferences directory used by Nelson.

  • quit - Terminate Nelson application

  • run - Executes a script file (.m).

  • sha256 - Get sha256 checksum.

  • version - Return the version of Nelson.

Last updated

Was this helpful?