Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Acycle stand-alone version for Windows crashes #21

Open
mingsongli opened this issue Mar 24, 2020 · 1 comment
Open

Acycle stand-alone version for Windows crashes #21

mingsongli opened this issue Mar 24, 2020 · 1 comment

Comments

@mingsongli
Copy link
Owner

mingsongli commented Mar 24, 2020

Background: Acycle standalone version for Windows + MatLab Runtime

Forwarded Description:

I have been using acycle a lot today and one hour ago I had this message:

Undefined function or variable 'matlabrc'

So I deleted everything and reinstalled it all. It worked for about 10 minutes and then again it doesn't work.

I receive an error message:

Warning: Can't find the resource file 'toolbox\local\hgrc.m' needed by 'c:Program File\... ?\hg.dll'
- Undefined function or variable 'matlabrc'
- Undefined function or variable 'ctfroot' 
- Error in runtimeInitializationChecks (line 23)
- Undefined function or variable 'ctfroot'

I tried to deinstall and reinstall Matlab Runtime and Acycle, even that won't work.

I am not able to install Acycle it anymore (the process of the installation starts and finishes quickly but then the program doesn't start).

@mingsongli
Copy link
Owner Author

mingsongli commented Mar 24, 2020

Please try this way:

There is a possible solution to the problem.

https://www.mathworks.com/matlabcentral/answers/437462-why-am-i-not-able-to-execute-my-standalone-application-on-only-certain-end-user-machines

Please delete the CTF extraction folder and re-run Acycle.

C:\Users\[username]\AppData\Local\Temp\[username]\mcrCache[version]

For example,

C:\Users\sji\AppData\Local\Temp\sji\mcrCache9.4\

Please change 'sji' to your user name.

If you cannot find the above path on your machine:

  1. The "AppData" folder is a hidden folder. Here is the tip about "View hidden files and folders in Windows 10".
    https://support.microsoft.com/en-us/help/4028316/windows-view-hidden-files-and-folders-in-windows-10.

  2. An alternative way to see it is to type the following code in the address bar of the File Explorer directly:
    C:\Users\sji\AppData\Local\Temp\sji\
    Please change sji to your user name before the above solution 2.

Please write to me ( limingsonglms {at} gmail.com ) if these solutions don't help.

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

No branches or pull requests

1 participant