Call the text editor as defined in the preferences
editor(...)
An external text editor can be used with Scilab. This has to be configured in the preferences menu.
By default, Scinotes is the preferred editor.
// editor without parameters editor(); // editor with a file name editor('SCI/modules/time/macros/datenum.sci');