Force Matlab to use UTF8

In file  lcdata.xml within “lcdata” add block:

     <locale name="lv_LV" encoding="UTF-8" xpg_name="lv_LV.UTF-8">
         <alias name="lv"/>
         <alias name="lv_LV"/>
     </locale>

 

RTL SDR dongle installation in MATLAB

su sc
sudo adduser user sudo

-logout/in-
sudo -s
vim /etc/modprobe.d/blacklist.conf

blacklist dvb_usb_rtl28xxu
blacklist rtl2832

depmod -a
update-initramfs -u

-insert SDR dongle
rmmod dvb_usb_rtl28xxu rtl2832
exit
matlab

search RTL in addons
add RTL

mv /home/user/Documents/MATLAB/SupportPackages/R2016b/toolbox/shared/sdr /usr/local/MATLAB/R2016b/toolbox/shared
deluser user sudo

-fix matlab path-

Fix Rapid Accelerator and Build

After MacOS upgrade Matlab has outdated links to MacOS SDK and therefore running models in ‘Rapid Accelerator’ mode causes errors. In order to fix ‘Rapid Accelerator’ mode version of MacOS must be updated (for example, from 10.8 to 10.10) in:
/Applications/MATLAB_R2014a.app/rtw/c/tools/unixtools.mk
/Applications/MATLAB_R2014a.app/bin/mexopts.sh
/Applications/MATLAB_R2014a.app/bin/maci64/mexopts/clang_maci64.xml
/Applications/MATLAB_R2014a.app/bin/maci64/mexopts/clang++_maci64.xml