Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

라이선스가 부여된 사용자만 번역 문서를 볼 수 있습니다. 번역 문서를 보려면 로그인하십시오.

isstruct

Determine whether input is structure array

Syntax

tf = isstruct(A)

Description

tf = isstruct(A) returns logical 1 (true) if A is a MATLAB® structure and logical 0 (false) otherwise.

Examples

patient.name = 'John Doe';
patient.billing = 127.00;
patient.test = [79 75 73; 180 178 177.5; 220 210 205];

isstruct(patient)

ans =

     1

Introduced before R2006a

Was this topic helpful?