| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
tf = isjava(A)
tf = isjava(A) returns logical 1 (true) if A is a Java object, and logical 0 (false) otherwise.
Create an instance of the Java Date class and isjava indicates that it is a Java object.
myDate = java.util.Date; isjava(myDate)
The MATLAB software displays:
ans =
1
Note that isobject, which tests for MATLAB objects, returns logical 0 (false). Type:
isobject(myDate)
MATLAB displays:
ans =
0
isobject, javaArray, javaMethod, javaObject, isa, is*
![]() | isinterface | isKey (Map) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |