FUNCTION REFERENCE

type

Print a file in the command window.

Print a file in the command window.

Syntax

type('filename')

A blank line comes first, then the text of the file. When the name has no

extension and no such file exists, filename.m is shown.

Example

type('m.txt')

Differences from MATLAB: files over 8 MiB are refused.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.