Previous Page Next Page Contents

NOTEBOOKFILE, NOTEBOOKPATH -- Notebook file name and path

Introduction

The environment variables NOTEBOOKFILE and NOTEBOOKPATH store the absolute file name and the directory name, respectively, of the current Notebook in MuPAD Pro for Windows as a string.

Call(s)


NOTEBOOKFILE
NOTEBOOKPATH

Related Functions

LIBPATH, READPATH, TESTPATH, UNIX, WRITEPATH

Details

Example 1

In MuPAD Pro for Windows, one may supply start-up commands for a Notebook, which are executed when the Notebook is connected to a kernel. (See the menu File/Properties in the on-line help.)

In the start-up commands one may use NOTEBOOKPATH to read a source file ``my_init.mu'' which is stored in the directory of the Notebook:

>> fread(NOTEBOOKPATH."my_init.mu")

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000