Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DARMA is not opening #10

Open
lstappen opened this issue Jun 25, 2019 · 0 comments
Open

DARMA is not opening #10

lstappen opened this issue Jun 25, 2019 · 0 comments

Comments

@lstappen
Copy link

lstappen commented Jun 25, 2019

Hi,

Problem:
After some time (around ~100 annotations), DARMA suddenly does not opening anymore. After click on the logo, the green window shows up and disappears again. In the task manager the process is running for a while with 0% CPU and then closes after a while.

Analysis:
I opened DARMA via windows prompt. This enables to receive an error message after the processed died. The error says:

Undefined function or variable 'matlabrc'.

This is not an explicit DARMA error but seems connected to MATLAB executable.

Quick fix: https://de.mathworks.com/matlabcentral/answers/98050-why-do-i-get-an-error-saying-undefined-function-or-variable-matlabrc-when-executing-a-program-th

I've had this issue arise from a perfectly working Matlab executable via MCR2013a (v8.1)... and one day it stopped working.
I solved the issue (for Windows 7 64bit) by:

  1. deleting the Matlab Runtime Compiler temporary cache folder.
    e.g.(C:\Users[username]\AppData\Local\Temp[username]\mcrCache[version])
  2. re-ran the executable manually to rebuild the required cache folder.
    Every time this issue re-arises I simply repeat these 2 steps and I'm back in business.

When you start DARMA next time you will receive an warning ("Name is nonexistent or not a directory") but it is working again.

I found a "maybe long-term fix" on same page:

I had the same problem with a dll generated with Matlab Compiler R2015b. After adding matlabrc.m to the m-file list of my compiler command line, the problem seems to be solved.

Also interesting: https://de.mathworks.com/matlabcentral/answers/96935-why-do-i-get-an-undefined-function-or-variable-matlabrc-error-and-loss-of-command-functionality-w

Just wanted to document this for others because it happened twice for us and took some time to figure out. A long-term solution would be nice, even though it is definitely MATLAB connected.

Best,
Lukas

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant