Frequently Asked Questions - mingsongli/acycle GitHub Wiki

1. How to install the standalone version of Acycle?

To install the stand-alone version of Acycle, you will need two files:

#1. Matlab Runtime

#2. Acycle-installer

There are two steps to install Acycle:

  • Step 1: Install Matlab Runtime
  • Step 2: Install Acycle using Acycle-installer

More details can be found here: https://github.com/mingsongli/acycle/wiki/3.-Getting-Started#34-mac-version

2. I cannot load and save any file

Q: I have installed Acycle, and after running, I can see the Acycle main window. However, I cannot load and save any file.

  • A: Please make sure that the names of your working directory and selected file contains no SPACE or no language other than ENGLISH.

  • You may change the working directory to a folder entitled "data" in one of your root directories (D: or C: disk), and rename the text file following tips above.

3. How to set the MatLab Runtime environment variable DYLD_LIBRARY_PATH?

You may be asked to set the MatLab Runtime environment variable DYLD_LIBRARY_PATH to install Acycle.

Here is a nice answer by Walter Roberson on 14 Jan 2016.

https://www.mathworks.com/matlabcentral/answers/263824-mcr-with-mac-and-environment-variable

Go into the Terminal app (it is under /Applications/Utilities).

While you are at the Terminal command window, command

ls ~/.bashrc

If it says that the file does not exist, then in the Terminal window, command

touch ~/.bashrc

to create the file. If the file already exists or you have now created it, then at the terminal window command

open ~/.bashrc

This will open TextEdit. In TextEdit you can add the line

export DYLD_LIBRARY_PATH=/Applications/MATLAB/MATLAB_Runtime/v90/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/sys/os/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64

If it still says that the file does not exist, there are still two solutions.

Solution #1: in the Terminal window, command

nano ~/.bashrc

then, you can add the line

export DYLD_LIBRARY_PATH=/Applications/MATLAB/MATLAB_Runtime/v90/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/sys/os/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64

Solution #2:

a, Make a file entitled "bashrc" using the TextEditor, you can add the line

export DYLD_LIBRARY_PATH=/Applications/MATLAB/MATLAB_Runtime/v90/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/sys/os/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64

b, move the file to your root folder.

c, change the file name to

.bashrc


to the end of the file, and then you can use the TextEdit File menu to Save the file.

If your SHELL showed up as csh or tcsh, or in any case if you just want to be more thorough, then you can use the same kind of steps as just above:

ls ~/.cshrc

and if it does not exist, "touch ~/.cshrc", and then once it exists, "open ~/.cshrc", and then in TextEdit, add the line they gave in the instructions,

setenv DYLD_LIBRARY_PATH /Applications/MATLAB/MATLAB_Runtime/v90/runtime/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/sys/os/maci64:/Applications/MATLAB/MATLAB_Runtime/v90/bin/maci64


and save.

These changes will not affect your current Terminal session, but they will affect the next time you start a Terminal session or anything else starts an interactive shell.

Doesn't work?

Read original answer by Walter Roberson on 14 Jan 2016.

https://www.mathworks.com/matlabcentral/answers/263824-mcr-with-mac-and-environment-variable

4. How to stop execution of an Acycle calculation?

To stop the execution of an Acycle calculation, go to MatLab main window and press Ctrl + C or Ctrl + Break.

On Apple Macintosh platforms, you also can use Command + . (the Command key and the period key).

Ctrl+C does not always stop execution for files that run a long time.