[status4,cmdeks2] = system("sudo tail -1 /var/log/apache2/access.log | cut -d ' ' -f 1");
lm = system(['sudo iptables -A INPUT -s' cmdeks ' -j DROP '])
cmdeks 2本身是一些IP:
192.168.88.10
但是它返回一些错误,即matlab输出:
/bin/bash : line 1: -j: command not found
如何将cmdeks放入系统语法中?