wrong:
pkg: please install the Debian package "liboctave-dev" to get the mkoctfile command
error: called from '__gripe_missing_component__' in file /usr/share/octave/4.0.0/m/help/__gripe_missing_component__.m near line 53, column 3
solve:
"Also keep in mind, the correct way to install Octave packages in Ubuntu is to install them using the Ubuntu Software Center (or synpatic or apt-get). For example, to install the `general` package, instead of using the `pkg` command as you demonstrated, you can install with `sudo apt-get install octave-xxx`."
my command is :sudo apt-get install octave-io
for more details:https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1380199