Free DNS provides easy shared DNS hosting & URL forwarding
Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Monday, May 24, 2010

Matlab 7 startup problem

Recently I had to install Matlab 7 on a Dell Inspiron 1501 laptop running Windows XP SP3. Everything went OK during installation. However, Matlab failed to start: it started, showed the splash screen, show the full application window, and as soon as the prompt was about to appear, all windows closes.
After some googleing I found out that this is caused by Matlab 7 using the wrong version of the Blas library (http://www.mathkb.com/Uwe/Forum.aspx/matlab/12542/MATLAB-7-R14-crashing). Dell Inspiron 1501 has an AMD Athlon processor.
The solution was quite easy (considering how much time I lost to find it): add the environmental variable BLAS_VERSION with the value atlas_Athlon.dll.

Friday, January 22, 2010

Hiding Tight VNC tray icon

As stated in the TightVNC FAQ, in order to hide the tray icon of the server, you need to add/set in the registry the DWORD DisableTrayIcon entry to 1 inside the HKLM\SOFTWARE\ORL\WinVNC3 container.
A .reg file that does this automatically is this:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ORL\WinVNC3]
"DisableTrayIcon"=dword:00000001

Thursday, January 21, 2010

Setting up Synctex for Sumatra PDF and TexnicCenter

Everytime I need this information I have to search for it on forums, then filter out the broken solutions in order to find out the corect one. So, I'm posting it here to have it for future reference:
  1. Install & setup SumatraPDF and Texniccenter (including the output profiles of TexnicCenter).
  2. Open the Output profiles window (Alt+F7).
  3. Select the Latex => PDF output profile.
  4. In the Latex section, add -synctex=-1 at the end of Command line arguments to pass to the compiler textbox (leave a space between this and the previous arguments).
  5. In the Viewer section, set the Path of executable textbox to C:\Program Files\SumatraPDF\SumatraPDF.exe -inverse-search "\"c:\Program Files\TeXnicCenter\TEXCNTR.EXE\" /ddecmd \"[goto('%f','%l')]\"". This will start SumatraPDF as the PDF viewer and will provide it with the program to run whenever a back search is performed.
  6. Still in the Viewer section, set for View project's output and Forward search the following options: Enable DDE Command and set Command to [ForwardSearch("%bm.pdf","%Wc",%l,0)], Server to SUMATRA, and Topic to Control. This will allow forward search to work.
Update: Step 5 refers to an older version of TeXnicCenter installed on Windows XP. Read the comments to find out the updated folder (for Windows 7) and file name (latest TexnicCenter).