Skip to content

Commit

Permalink
Fix documentation typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven G. Kargl authored and tbeu committed Oct 19, 2016
1 parent d9ba5eb commit ed1096d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion documentation/Mat_Rewind.3
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ reads the first variable in the file.
The function returns 0 on success, or -1 on failure.
.Sh EXAMPLES
The following example shows a list of variables in the MAT file, and prompts the
user for the index of the variale to read. If the index is valid, the file is
user for the index of the variable to read. If the index is valid, the file is
reset to the beginning, and variables read until the selected index is reached.
.Bd -literal
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion documentation/Mat_VarCreate.3
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ would use
for the class type and
.Dv MAT_T_DOUBLE
for the data type. In some instances, the data type may not match the class
type. For exmaple, an array of integers can be written in the double-precision
type. For example, an array of integers can be written in the double-precision
class by using
.Dv MAT_T_INT32
for
Expand Down
3 changes: 2 additions & 1 deletion documentation/Mat_VarReadNextInfo.3
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ there was an error reading the variable, NULL is returned.
This example program opens a MAT file named by the first argument to the
program, and uses
.Fn Mat_VarReadNextInfo
to read the information about each variable in the file. For each variable read,the name, size, and class are printed in a format similar to the MATLAB whos
to read the information about each variable in the file. For each variable read,
the name, size, and class are printed in a format similar to the MATLAB whos
command.
.Bd -literal
#include <stdlib.h>
Expand Down

0 comments on commit ed1096d

Please sign in to comment.