MATLAB Answers

Emily
0

Try-catch syntax error

Asked by Emily
on 6 Oct 2011
I tried running the install_connector script and got this error, but I am running R2007a so I'm not sure why it's giving me this error
??? Warning: File: install_connector.m Line: 15 Column: 7 This try-catch syntax will continue to work in R2007a, but may be illegal or may mean something different in future releases of MATLAB. See Release Notes for MATLAB Version 7.4, "Warning Generated by try-catch" for details.

  0 Comments

Sign in to comment.

2 Answers

Answer by Wayne King
on 6 Oct 2011

Open the install_connector.m file in the editor and insert a comma after catch

  5 Comments

I think Wayne meant to make that "catch e,". The comma comes at the end of the statement (after e).
copy and past the line with the try-catch statement here so we can see. As it is now
Yes, I meant after the catch statement. sorry.

Sign in to comment.


Answer by Michael Katz on 7 Oct 2011

The MATLAB Connector is not supported on versions earlier than R2009b. We haven't tested it on 7a, but I am pretty sure it's not going to work.

  0 Comments

Sign in to comment.