Info

This question is closed. Reopen it to edit or answer.

'system' command issues: R2016a on Kubuntu 16.04

1 view (last 30 days)
Peter de Vietien
Peter de Vietien on 19 Sep 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello,
I'm facing two issues with the system command. These issues arose when I upgraded my system to Kubuntu 16.04 from 14.04.
I'm using R2016a.
Both issues arise when I use the following command:
system('sed s/\\\\ttmax=.*$/\\\\ttmax=600/ text.txt','-echo')
where text.txt is:
\ttmax=500
1) the '-echo' flag does not display the executed command
2) The sed command does not change the value of tmax in text.txt
Thanks in advance!

Answers (1)

Saurabh Gupta
Saurabh Gupta on 22 Sep 2016
Hello Peter,
MATLAB R2016a is qualified on Ubuntu 14.04 through 15.10, so you may encounter some unpredictable behavior on Kubuntu 16.04. I would recommend you to install the current release, MATLAB R2016b, which supports Ubunutu 16.04 LTS. Refer to the below links for the Linux system requirements for both releases.

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!