MATLAB Octave CLI: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * MATLAB/Octave =cd= Modify the current directory. =pwd= Print working directory. =clear= Delete the names matching the pattern fr...")
 
Line 31: Line 31:
Like [[#printf|printf]], just that the output is written to the FID stream instead of stdout.
Like [[#printf|printf]], just that the output is written to the FID stream instead of stdout.


'''load''' - load the named variables from the file. If no variables are named, all variables found in the file will be loaded.
=load=
 
Load the named variables from the file. If no variables are named, all variables found in the file will be loaded.

Revision as of 17:28, 20 December 2017

Internal

cd

Modify the current directory.

pwd

Print working directory.

clear

Delete the names matching the pattern from the symbol table. The pattern is a simplified regular expression, with '?', '*', '[...]'. With no arguments, all user-define variables (local and global) are deleted.

close

Close figure windows.

clc

Clears the terminal screen and move the cursor to the upper left corner.

printf

Also see Generic printf.

fprintf

Like printf, just that the output is written to the FID stream instead of stdout.

load

Load the named variables from the file. If no variables are named, all variables found in the file will be loaded.