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.

isvalid

Class: qrandstream

Test handle validity

Syntax

tf = isvalid(h)

Description

tf = isvalid(h) performs an element-wise check for validity on the handle elements of h. The result is a logical array of the same dimensions as h, where each element is the element-wise validity result.

A handle is invalid if it has been deleted or if it is an element of a handle array and has not yet been initialized.

Was this topic helpful?