Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

'system' command issues: R2016a on Kubuntu 16.04

1 vue (au cours des 30 derniers jours)
Peter de Vietien
Peter de Vietien le 19 Sep 2016
Clôturé : MATLAB Answer Bot le 20 Août 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!

Réponses (1)

Saurabh Gupta
Saurabh Gupta le 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.

Community Treasure Hunt

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

Start Hunting!

Translated by