Learn R Programming

⚠️There's a newer version (3.7.0) of this package.Take me there.

R.matlab (version 1.0.2)

Read and write of MAT files together with R-to-Matlab connectivity

Description

This package provides methods to read and write MAT files. It also makes it possible to communicate (evaluate code, send and retrieve objects etc.) with Matlab v6 or higher running locally or on a remote host. The auxillary Java class provides static methods to read and write Java data types.

Copy Link

Version

Install

install.packages('R.matlab')

Monthly Downloads

7,166

Version

1.0.2

License

GPL version 2 or newer

Maintainer

Henrik Bengtsson

Last Published

August 26th, 2022

Functions in R.matlab (1.0.2)

finalize.Matlab

Finalizes the object if deleted
asLong.Java

Converts a numeric to a Java long
evaluate.Matlab

Evaluates a Matlab expression
asInt.Java

Converts an numeric to a Java integer
Non-documented objects

Non-documented objects
. About the Matlab server

. About the Matlab server
close.Matlab

Closes connection to Matlab server
asShort.Java

Converts a numeric to a Java short
Matlab

Matlab client for remote or local Matlab access
setVariable.Matlab

Sets one or several Matlab variables
asByte.Java

Converts a numeric to a Java byte
open.Matlab

Tries to open a connection to the Matlab server
getVariable.Matlab

Gets one or several Matlab variables
as.character.Verbose

Returns a character string version of this object
Java

Static class for Java related methods
startServer.Matlab

Static method which starts a Matlab server
. About this package

About this package
setFunction.Matlab

Defines a Matlab function
isOpen.Matlab

Checks if connection to the Matlab server is open
newline.Verbose

Prints a newline if above threshold
readUTF.Java

Reads a Java (UTF-8) formatted string from a connection
readByte.Java

Reads a Java formatted byte (8 bits) from a connection
ruler.Verbose

Prints a ruler if above threshold
printf.Verbose

Formats and prints object if above threshold
isVisible.Verbose

Checks if a certain verbose level will be shown or not
writeShort.Java

Writes a short (16 bits) to a connection in Java format
readShort.Java

Reads a Java formatted short (16 bits) from a connection
writeCommand.Matlab

Writes (sends) a command to the Matlab server
writeByte.Java

Writes a byte (8 bits) to a connection in Java format
readResult.Matlab

Reads results from the Matlab server
readInt.Java

Reads a Java formatted int (32 bits) from a connection
cat.Verbose

Concatenates and prints objects if above threshold
setThreshold.Verbose

Sets verbose threshold
getThreshold.Verbose

Gets current verbose threshold
setVerbose.Matlab

Sets the verbose level to get more details about the Matlab access
writeUTF.Java

Writes a string to a connection in Java format (UTF-8)
writeInt.Java

Writes a integer (32 bits) to a connection in Java format
str.Verbose

Prints the structure of an object if above threshold
writeMat

Writes a MAT file structure
summary.Verbose

Generates a summary of an object if above threshold
print.Verbose

Prints objects if above threshold
evaluate.Verbose

Evaluates a function and prints its results if above threshold
readMat

Reads a MAT file structure from a connection or a file
Verbose

Class for detailed verbose output with various details
as.character.Matlab

Gets a string describing the current Matlab connection