Hal Whitehead

May 2016


The compiled version of SOCPROG allows users to use the programs without a version of MATLAB. This is obviously a benefit, but there are some costs. The flexibility of MATLAB is lost in the compiled version: you cannot change the code to do exactly what you want, or use results produced by SOCPROG for further analyses in MATLAB. For many users the biggest drawback may be that the figures and graphs produced cannot be modified easily (in the uncompiled version they can be altered quite easily in a huge range of ways). However, the figures can be exported (e.g. as .emf files) which can be edited by other programs.


This compiled version of SOCPROG2.7 (unlike the uncompiled version) is designed to be used with Windows 7, 8 and 10–I don’t think it works on other platforms (MAC or LINUX), and have heard of problems with it working on Windows Vista.  [However, Note from Thibaut Bouveroux on 13 March 2017: “I have a MacBook pro, with the OS X El Captain. I have installed Parallels Desktop 12, which allows to run Windows in a Mac. Then I have installed Windows 7 family pack and installed SocProg 2.7, and all is working perfectly… I have also tried Windows 8 pro 64bit, but SocProg wasn’t working with this version.”].


Installing compiled version of SOCPROG2.7:


After clicking “Download compiled SOCPROG2.7” you will receive a zipped folder ( which contains one file:


MyAppInstaller_web.exe (installs program to run compiled MATLAB code)


After the zipped file has been downloaded:


1. Extract the file MyAppInstaller_web.exe.


2. Make sure you are connected to the internet.


3. Click on MyAppInstaller_web.exe. This guides you through downloading the appropriate “MCR compiler”, and makes a folder (the installer asks you where to make the folder) with a subfolder called “application” which contains the following files:


SOCPROG.exe          (Click on this to run SOCPROG)

Manual.pdf                (The SOCPROG manual)

Variables.pdf             (List of main m-files and variables used by SOCPROG; not very useful for compiled version!)

sim….xls                                (Example files; see section 2.4 of manual)


4. To run: click on icon on desktop or “SOCPROG.exe” in subfolder “application”


[If you have problems in scrolling or copying results from the command window, try this:

∙ Launch a DOS command window in Windows by selecting Start>Accessories>Command Prompt

∙ Use the DOS "cd" command to change the directory to the directory containing your files (see step 3). e.g.:

 cd ..\..\"Program Files"\"Dalhousie University"\SOCPROG\application

∙ Type “SOCPROG” and press return]


Other Notes:


1. In the compiled version of SOCPROG, the MATLAB command window is replaced by a simple “DOS” screen in which results are reported. By clicking on the top left “C:\” symbol you can find options for selecting, and copying, text which can then be pasted into other applications (see above note if you have problems with this).


2. As noted above, the figures produced by the compiled version of SOCPROG have many less options than those using the uncompiled version. However, there are a few options (adding a legend for instance), and you can save the figure in various formats which can then be manipulated by other applications.


Please let me know of problems ( and I will try to rectify them in future versions.