Check the Message property of the Neo4j connection object neo4jconn. The blank Message property indicates a successful connection.
neo4jconn.Message
ans =
[]
Create two nodes in the Neo4j database using the Neo4j database connection. Use the 'Labels' name-value pair argument to specify the Person node label for each node.
Create a relationship between the two nodes using the Neo4j database connection. These nodes represent two colleagues who work together. Specify the relationship type as works with.
Neo4j database connection, specified as a Neo4jConnect object created with the function neo4j.
Relationship in a Neo4j database, specified as a Neo4jRelation object, Neo4jRelation object array, numeric
scalar, or numeric vector. For a single relationship, use a
Neo4jRelation object or a numeric scalar that contains the
relationship identifier. For multiple relationships, use a
Neo4jRelation object array or a numeric vector that contains an
array of relationship identifiers.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.