I am working on a large project where I am using "chroot" techniques on Linux and Solaris to define standard environments for software development and testing.
On Linux, MATLAB does not work well when it is started from a process that runs inside a "chroot" partition. I do not encounter problems running many standard UNIX processes and applications inside a chroot partition, including Perl and Java. MATLAB is able to startup, but I am unable to run code generators, build models, execute models etc.
When MATLAB starts up, I receive the following error message:
11899: 11899: 11899: initialize program: ./matlab 11899: 11899: 11899: transferring control: ./matlab 11899: ??? MATLAB was unable to open a pseudo-tty: No such file or directory [2,1] The unix() and ! commands will not work in this MATLAB session. Other commands which depend upon unix() and ! will also fail. Your system may be running low on resources. If the problem persists after a reboot, check with your system administrator and confirm that your pty subsystem is properly configured.
Best Answer