openmicroscopy/openmicroscopy — pull request #1212 by sbesson (2013-05-24 13:30:54+00:00)
Title: OMERO.matlab: add functions to write and link file annotations (see #10385)

See https://trac.openmicroscopy.org.uk/ome/ticket/10385

The basic scenario to test should be the following

```
fa = writeFileAnnotation(session, filePath)
linkAnnotation(fa, 'image', imageId)
```

Additional options can be passed to `writeFileAnnotation` and should be tested
```
fa = writeFileAnnotation(session, filePath, 'mimetype', mimetype)
fa = writeFileAnnotation(session, filePath, 'namespace', namespace)
fa = writeFileAnnotation(session, filePath, 'description', description)
```