Custom Search

Saturday, February 18, 2006

How do I export my display on Linux or Unix ?

If you're using a 'C' shell (csh, tcsh, etc):
On the host you're exporting to, type: xhost +
On the host you're exporting from, type: setenv DISPLAY :0.0

If you're using a 'sh' shell (sh, bash, ksh, etc):
On the host you're exporting to, type: xhost +
On the host you're exporting from, type: export DISPLAY=:0.0

How to Port Matlab Function into C++ Function or in a Standalone Application

The MATLAB Compiler and C/C++ Math Libraries make MATLAB's algorithms available outside of the interpreted MATLAB environment. The new versions of the MATLAB Compiler and C/C++ Math Libraries offer more functions, are easier to use, and work with MATLAB 5.

A good sample: link