[ome-devel] loadOmero('localhost') from Matlab

Munro, Ian i.munro at imperial.ac.uk
Wed Feb 1 12:18:05 GMT 2012


Hello

I'm curently developing  some Matlab code to access OMERO using a virtualbox server
running on the development machine to do the testing.

when I call

client = loadOmero('localhost');

either when the server isn't running or with an invalid address
it returns with no problem.

Is there a way of telling whether the value returned ( 'client' in the code snippet )
represents a valid server or not?

The reason I want to know is that if the server isn't valid
a subsequent call to

session = client.createSession(userName,passwd);

fails to return properly.

Thanks

Ian


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20120201/46733f83/attachment.html>


More information about the ome-devel mailing list