New answers tagged

1

OK, quite a list you have there. Let me respond inline How to Apply the Better Error-handling of Error trapping here? See my script for the example in the source. Thread How to Do Error-trapping and Swapoff if Error/Warning?. I don't like the concept of this script at all. That you have an external harddrive that you're trying to use as swap is just a ...


1

This is how you can expand your SWAP memory using an external hard drive: First, write down your actual SWAP memory by running: free -m Second, have at hand the folder of your HDD. It should be something like /media/myhdd. Decide the size of extra SWAP you want to add. Let's say, X GB. Calculate the amount of bytes that quantity is. Using GB, this is: Y=...


1

I don't really know much about Matlab but it looks to me like others have solve your problem by having Matlab use it's own page file. It might be worth you trouble to check out the thread on stckoverflow HERE


0

I would at least test how well compressed RAM (zram kernel module, available since kernel version 3.14) performs. Following archlinux wiki instructions modprobe zram echo lz4 > /sys/block/zram0/comp_algorithm echo 4G > /sys/block/zram0/disksize mkswap --label zram0 /dev/zram0 swapon --priority 100 /dev/zram0 My guess is that compressed RAM should ...


10

You cannot dedicate swap for a software. What you can do is create a shell script that creates a swap, start MATLAB, and delete the swap when MATLAB exits. Here's an example script which creates a swap of 10Mb in the /tmp directory, mounts it, starts R (I don't have matlab), wait R exits, umount the swap file and delete it. Please note that: - you will ...


0

Assuming that image is named R2015b_glnxa64.iso, simply mount ISO: sudo mkdir -p /media/iso sudo mount -o ro,loop ./R2015b_glnxa64.iso /media/iso run the installation script: sudo /media/iso/install and finally unmount image: sudo umount /media/iso


1

I had this problem. but after I installed matlab-support the problem solved. sudo apt-get install matlab-support I answered my question here.


2

I just solved the problem by installing matlab-support sudo apt-get install matlab-support while installing matlab-support choose the user that access to matlab and also let matlab-support rename GCC libraries for matlab when it asked you.


2

Remove Linux kernel changes sudo rmmod pcspkr # no speakers in laptop gsettings set org.gnome.desktop.wm.preferences audible-bell false # no motherboard beep in Macbooks Matlab proposals for a snap sound because soundsc of a factor is oscillating so only a few is succeeding beep off % disable Matlab beep because no motherboard beep soundsc(230) ...


2

That file is not available anymore on Xenial and other Ubuntu versions more recent than Trusty (also in Wily is not present). Since Matlab is a proprietary software you should report the error to their developers, so that they can update the package and make it compatible with the new versions of Ubuntu and Debian. In the meanwhile you can probably ...


0

From https://help.ubuntu.com/community/MATLAB, the matlab-support package "add[s] an entry to the launcher and some other features", therefore installing it may be the most straightforward solution. You can install it by running: sudo apt update && sudo apt install matlab-support


-1

In some cases no other version would work in place of 2.7. Not 2.8 neither 3.4. I found the 2.7 version of this shared library coming as part of another software here. It is in the folder lib of the zipped file. I mention this since the website in the second method of this answer does not seem to be freely available and the first mentioned method does not ...


0

For missing libXp.so.6, add: deb http://security.ubuntu.com/ubuntu precise-security main to your /etc/apt/sources.list. then run sudo apt update sudo apt install libxp6


0

I have no experience with running mentioned software on Ubuntu but my overall experience is following: There is basically no need for reinstalling a software after system upgrade unless it gets unmet dependencies. In that case you’ll need to upgrade such software. This may happen to Matlab as it is not installed using APT. However, Matlab R2016a supports ...



Top 50 recent answers are included