Contents Previous Next Subchapters

O-Matrix Routine For Missing Mlmode Functions
Syntax mismatfun(action)

Description
Some of the Mlmode functions are not included in this distribution of O-Matrix. When such a function is called, the action specified by the previous call to mismatfun is taken. The valid values for action and a description of the corresponding action are listed below

Nothing
If action is equal to "nothing", no action is take when a missing function is called.

Warning
If action is equal to "warning", a warning is printed in the Command window each time a missing function is called. This is the default setting for mismatfun.

Stop
If action is equal to "stop", a stop command is executed each time a missing function is called. This enables you to determine where the function is being called from.

Loading This Function
This function is written in O-Matrix source code. If you are in Mlmode, you can load it as follows
     omatrix
     include mismatfun.oms
     mlmode
It is also included by the file autoexec.m which is executed after every clear command in Mlmode. Thus, if you are in Mlmode, you can clear your variable space and load mismatfun by entering
     clear

Example
If you load mismatfun as described above and then enter
     balance
O-Matrix will respond
     Warning: the mlmode function balance is missing
If you enter
     mismatfun('nothing')
     balance
O-Matrix will not respond.