Info

此问题已关闭。 请重新打开它进行编辑或回答。

'system' command issues: R2016a on Kubuntu 16.04

1 次查看(过去 30 天)
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!

回答(1 个)

Saurabh Gupta
Saurabh Gupta 2016-9-22
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