4

I have the Matlab Compiler Runtime installed on my machine. It was working fine, but now when I run some code that needs it I get this error:

Failed to initialize MCR Instance: The specified component has expired.

I thought the MCR was basically a free download but now I'm wondering if I had a trial version or something, even though as far as I can see there's nothing that says this is the case on the Matlab download site.

Anybody else had the same problem?

BartoszKP
  • 34,786
  • 15
  • 102
  • 130
user814425
  • 605
  • 8
  • 19

1 Answers1

6

Yes, the executable can expire, but not the MCR. Say a colleague of yours had trial license of MATLAB Compiler and he compiled an executable. He went onto distribute the executable to you. This executable would work only for 1 month. Past that, the executable expires.

Lokesh A. R.
  • 2,326
  • 1
  • 24
  • 28
  • 1
    Hmm, maybe I'm not clear on the relationship between the compiler and Java Builder, which is licensed. I'd have thought that would include a licensed compiler but maybe not. EDIT looks like the compiler is the issue. Thanks Lokesh – user814425 Aug 09 '13 at 11:00
  • +1 what about executables produced using a full version of MATLAB Compiler (with a network license), is it tied to the lifetime of the MATLAB license (say if the license expires and is not renewed)? – Amro Aug 09 '13 at 13:23
  • That will work. The executable then has not lifetime defined as such. – Lokesh A. R. Aug 09 '13 at 13:50