set the block error number
Function to set a specific error during the simulation for the current block. If it is used, then after the execution of the computational function of the block, the simulator will end and will return an error message associated to the number given in argument.
n : an error number. The following calls are allowed :
the block has been called with input out of its domain
singularity in a block
block produces an internal error
cannot allocate memory in block