How to import TDT Tank into MATLAB

Posted on Oct 4, 2010

1. Introduction

Tucker-Davis Technologies (TDT) is a company supplying signal processing systems. The signals recorded by their System 3 are stored in a database called TTank and can be read out later. TDT provides application programming interfaces (APIs) for TTank access through ActiveX DLLs and, in any development environment where ActiveX can be incorporated, users can make TTank applications easily.

For example, in MATLAB, you can create a TTank object with the following command. (You need to install OpenDeveloper package before typing the command.)

TTX = actxcontrol('TTank.X');

Then you can call any API functions listed in the OpenDeveloper reference manual with the object. (Some code examples are installed with the OpenDeveloper package in C:\TDT\OpenEx\Examples\TTankX_Example\Matlab) If you do not have a TDT system and just want to read TTank, then you can try out TDT NeuroShare Kit. I have not tested it , but I guess it works in a similar way.

However, sometimes it is not convenient to use particular DLLs to access data, since it means that you are bound to the MS Windows platform and cannot read your data without the TDT software package. Considering that you never know how long you will be able to get necessary technical support from the vendor, it is probably not a bad idea to learn how to read the binary format of the TTank directly.

Continue…

How to add MATLAB to the GNOME menu

Posted on Sep 21, 2010

For the installation instruction of MATLAB, refer to the following document.

https://help.ubuntu.com/community/MATLAB

To add MATLAB to the GNOME menu,

1. Get an icon:

sudo wget http://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png -O /usr/share/icons/matlab.png

2. Get the launcher file:

sudo wget 'https://help.ubuntu.com/community/MATLAB?action=AttachFile&do=get&target=matlab-r2010a.desktop' -O /usr/share/applications/matlab.desktop

3. Edit the launcher file:

sudo gedit /usr/share/applications/matlab.desktop &

The contents of the launcher file (“matlab.desktop”) should be similar to what is written below. Modify ‘Name‘, ‘Exec‘, and ‘Categories‘ fields according to your configuration. Don’t forget to put ‘-desktop‘ at the end of the ‘Exec‘. Otherwise, MATLAB will show the splash screen, but will not start.

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Icon=/usr/share/icons/matlab.png
Name=MATLAB R2010b
Comment=Start MATLAB - The Language of Technical Computing
Exec=/usr/local/MATLAB/R2010b/bin/matlab -desktop
Categories=Development;Programming;

FYI. The ‘-desktop‘ option may not be necessary when MATLAB is executed from the command line.

아팠다

Posted on Sep 17, 2010

지난 일요일부터 기분이 안좋더니 월요일 일어나서부터 이번 주 내내 끙끙 앓았다. 보통 감기 같으면 기침, 콧물이나 좀 하고 말았을 건데 무슨 병인지 계속 열이 나면서 두통이 심하고 목이 잔뜩 부었다. 열이 심하니 정신도 못차리겠고 뼈마디와 근육이 아파서 저녁에 집에 와서는 거의 인간 구실을 못하고 지냈다. 지금도 아직 목은 부어 있지만 열은 가셨다. 머리는 아직 어지럽지만 훨씬 살만하다. 한국에 있을 때는 감기에 걸려도 목이 부은 적은 거의 없었는데 지금 두 번 내리 목이 부었다. 아마 미국에 있는 종류는 내게 면역이 없어서 그런 탓인가 싶기도 하다.

덕분에 예지 엄마가 고생을 좀 많이 한 것 같다. 아프니까 애 옆에 찰싹 붙어있기도 그렇고 나도 힘들고 해서 저녁 먹으면 바로 씻고 자버렸는데 덕분에 간간이 예지 씻기거나 설겆이 해주던 것도 다 예지 엄마 몫이 됐다. 목 때문에 침 삼키키도 힘들었는데 예지 엄마가 저녁마다 뭔가 뜨끈뜨끈한 것들을 끓여주곤 해서 먹고나면 기분이 좋아졌다. 예지나 예지 엄마가 같이 아프지 않아서 정말로 다행이다.

Yehji’s language development

Posted on Aug 24, 2010 Comments

예지가 재밌는 말을 참 많이 하는데 어디다 적어놓질 않으니 자꾸만 까먹는다.

나중에 참 아쉬울텐데 생각나는 대로 좀 적어놔야 겠다.

어디서 그런 말들을 배워서 요로코롬 써먹는지 참. 언어발달이란 신기하기 그지없다.

Continue…

Remote desktop connection in Linux: NX Server

Posted on Aug 13, 2010

My office computer was just an old Windows box which was getting slow due to the resource-devouring vaccine software. I decided to install Ubuntu (9.10, Karmic Koala) on it in order to use its computing power more efficiently. It was done quite nicely. I could run FireFox, Thunderbird and most of my favorite software as I used them on Windows just with the faster speed. The thing I wanted next was a substitute for Windows terminal service, aka, Remote Desktop Connection, since most of the time I logged on the machine remotely.

There are several implementations of VNC and RDP available for that purpose. I tested a couple of them myself, but the user experience they provided was not very satisfying to me, not to mention their slow speed. Then, I found FreeNX server1 which is a GPL implementation of NoMachine’s NX Server. It worked just like a charm. Fast and neat. It was exactly what I wanted, and I loved it.

Continue…