Thanks for making this great tool. I had a minor issue with the klm.transfer function not lining up properly. I discovered that this was because my plotting script used "axis equal". This resulted in the axes not filling the whole figure window during the image capture so the image limits were not quite right. perhaps you could add "axis normal" in the code somewhere so that it will always behave as expected.
This is a great tool, I have been using it for a while with out a hitch. Just recently it started to go wrong and gave the error:
"No public field CursorLocation exists for class COM.ADODB_Connection"
I found if I commented out the folowing line from adodb_connect
ado_connection.CursorLocation = 'adUseClient'; % Uses a client-side cursor supplied by a local cursor library
this error went away.
After this it had a problem with the line from adodb_query...
if (ado_recordset.State && ado_recordset.RecordCount>0)
I found if I delete this (and the corresponding end) it works fine for my purposes. I'm not exactly sure what this did (anybody?) and what errors will crop up now that it isn't there.
I wonder if there has been an update to the ADODB set up and now some of the methods and classes have changed since this code was written.
Is there a colour space function that I could use with this function to find colours that are perceptually-distinct to a person with a colour vision deficiency (colour blind)? In the example I have in mind colours that are only different by the amount of red in them such as blue and purple look the same (Protanopia).