Julia for MATLAB Users/Core Language/Advanced Software Development
Advanced Software Development
editCreating Classes
editClass Syntax Guide
editIn Julia typeof()
is essentially equivalent.
isobject
Determine if input is MATLAB object
edit
enumeration
Class enumeration members and names
edit
events
Event names
edit
methods
Class method names
edit
properties
Class property names
edit
Sample Class Implementations
editclassdef
Class definition keywords
edit
Class Definition
editClass File Organization
editclassdef
Class definition keywords
edit
import
Add package or class to current import list
edit
Properties
editproperties
Class property names
edit
isprop
Determine if property of object
edit
mustBeFinite
Validate that value is finite or issue error
edit
mustBeGreaterThan
Validate that value is greater than another value or issue error
edit
mustBeGreaterThanOrEqual
Validate that value is greater than or equal to another value or issue error
edit
mustBeInteger
Validate that value is integer or issue error
edit
mustBeLessThan
Validate that value is less than another value or issue error
edit
mustBeLessThanOrEqual
Validate that value is less than or equal to another value or issue error
edit
mustBeMember
Validate that value is member of specified set
edit
mustBeNegative
Validate that value is negative or issue error
edit
mustBeNonempty
Validate that value is nonempty or issue error
edit
mustBeNonNan
Validate that value is nonNaN
edit
mustBeNonnegative
Validate that value is nonnegative or issue error
edit
mustBeNonpositive
Validate that value is nonpositive or issue error
edit
mustBeNonsparse
Validate that value is nonsparse or issue error
edit
mustBeNonzero
Validate that value is nonzero or issue error
edit
mustBeNumeric
Validate that value is numeric or issue error
edit
mustBeNumericOrLogical
Validate that value is numeric or logical or issue error
edit
mustBePositive
Validate that value is positive or issue error
edit
mustBeReal
Validate that value is real or issue error
edit
dynamicprops
Superclass for classes that support dynamic properties
edit
meta.DynamicProperty
Describe dynamic property of MATLAB object
edit
event.DynamicPropertyEvent
Event data for dynamic property events
edit
meta.property
Describe property of MATLAB class
edit
meta.Validation
Describes property validation
edit
meta.FixedDimension
Fixed dimension in property size specification
edit
meta.UnrestrictedDimension
Unrestricted dimension in property size specification
edit
meta.ArrayDimension
Size information for property validation
edit
matlab.lang.OnOffSwitchState
Represent on and off states with logical values
edit
Methods
editmethods
Class method names
edit
ismethod
Determine if method of object
edit
meta.method
Describe method of MATLAB class
edit
Handle Classes
editisequal
Determine array equality
edit
eq
Determine equality
edit
handle
Superclass of all handle classes
edit
matlab.mixin.SetGet
Provide handle classes with set and get methods
edit
matlab.mixin.SetGetExactNames
Require exact name match for set and get methods
edit
dynamicprops
Superclass for classes that support dynamic properties
edit
matlab.mixin.Copyable
Superclass providing copy functionality for handle objects
edit
Events
editevents
Event names
edit
handle.notify
Notify listeners that event is occurring
edit
handle.addlistener
Create event listener bound to event source
edit
handle.listener
Create event listener without binding to event source
edit
event.hasListener
Determine if listeners exist for event
edit
event.EventData
Base class for event data
edit
event.listener
Class defining listener objects
edit
event.PropertyEvent
Data for property events
edit
event.proplistener
Define listener object for property events
edit
Class Hierarchies
editSubclass Definition
editsuperclasses
Names of superclasses
edit
matlab.mixin.Heterogeneous
Superclass for heterogeneous array formation
edit
Enumerations
editenumeration
Class enumeration members and names
edit
isenum
Determine if variable is enumeration
edit
meta.EnumeratedValue
Describe enumeration member of MATLAB class
edit
Class Customization
editObject Indexing
editnumArgumentsFromSubscript
Number of arguments for customized indexing methods
edit
subsref
Redefine subscripted reference for objects
edit
subsasgn
Redefine subscripted assignment
edit
subsindex
Convert object to array index
edit
substruct
Create structure argument for subsasgn or subsref
edit
builtin
Execute built-in function from overloaded method
edit
Object Arrays
editempty
Create empty array
edit
matlab.mixin.Heterogeneous
Superclass for heterogeneous array formation
edit
Customize Object Display for Classes
editdisplay
Used internally for command-window display
edit
details
Display array details
edit
matlab.mixin.CustomDisplay
Interface for customizing object display
edit
matlab.mixin.util.PropertyGroup
Custom property list for object display
edit
Object Save and Load
editsaveobj
Modify save process for object
edit
loadobj
Customize load process for objects
edit
Class Editing
editedit
Edit or create file
edit
Class Introspection and Metadata
editmetaclass
Obtain meta.class object
edit
meta.abstractDetails
Find abstract methods and properties
edit
meta.class.fromName
Return meta.class object associated with named class
edit
meta.package.fromName
Return meta.package object for specified package
edit
meta.package.getAllPackages
Get all top-level packages
edit
properties
Class property names
edit
methods
Class method names
edit
events
Event names
edit
superclasses
Names of superclasses
edit
meta.class
Describe MATLAB class
edit
meta.property
Describe property of MATLAB class
edit
meta.method
Describe method of MATLAB class
edit
meta.event
Describe event of MATLAB class
edit
meta.package
Describe MATLAB package
edit
meta.DynamicProperty
Describe dynamic property of MATLAB object
edit
meta.EnumeratedValue
Describe enumeration member of MATLAB class
edit
meta.MetaData
Superclass for MATLAB object metadata
edit
meta.ArrayDimension
Size information for property validation
edit
meta.Validation
Describes property validation
edit
meta.FixedDimension
Fixed dimension in property size specification
edit
meta.UnrestrictedDimension
Unrestricted dimension in property size specification
edit
System Objects
editUse System Objects
editstep
Run System object algorithm
edit
clone
Create duplicate System object
edit
isLocked
Determine if System object is in use
edit
nargin
Number of input arguments for System object
edit
nargout
Number of output arguments for System object
edit
reset
Reset internal states of System object
edit
release
Release resources and allow changes to System object property values and input characteristics
edit
Create System Objects
editmatlab.System
Base class for System objects
edit
matlab.system.StringSet
Set of valid character vector values
edit
matlab.system.mixin.FiniteSource
Finite source mixin class
edit
Calling External Functions
editCall MEX File Functions
editmexext
Binary MEX file-name extension
edit
inmem
Names of functions, MEX-files, classes in memory
edit
Call C Shared Libraries
editloadlibrary
Load C/C++ shared library into MATLAB
edit
unloadlibrary
Unload shared library from memory
edit
libisloaded
Determine if shared library is loaded
edit
calllib
Call function in shared library
edit
libfunctions
Return information on functions in shared library
edit
libfunctionsview
Display shared library function signatures in window
edit
libstruct
Convert MATLAB structure to C-style structure for use with shared library
edit
libpointer
Pointer object for use with shared library
edit
lib.pointer
Pointer object compatible with C pointer
edit
Call Java Libraries
editimport
Add package or class to current import list
edit
isjava
Determine if input is Java object
edit
javaaddpath
Add entries to dynamic Java class path
edit
javaArray
Construct Java array object
edit
javachk
Error message based on Java feature support
edit
javaclasspath
Return Java class path or specify dynamic path
edit
javaMethod
Call Java method
edit
javaMethodEDT
Call Java method from Event Dispatch Thread (EDT)
edit
javaObject
Call Java constructor
edit
javaObjectEDT
Call Java constructor on Event Dispatch Thread (EDT)
edit
javarmpath
Remove entries from dynamic Java class path
edit
usejava
Determine if Java feature is available
edit
matlab.exception.JavaException
Capture error information for Java exception
edit
Call .NET Libraries
editGetting Started with Microsoft .NET
editNET.addAssembly
Make .NET assembly visible to MATLAB
edit
NET.isNETSupported
Check for supported Microsoft .NET Framework
edit
NET
Summary of functions in MATLAB .NET interface
edit
enableNETfromNetworkDrive
Enable access to .NET commands from network drive
edit
NET.Assembly
Members of .NET assembly
edit
NET.NetException
Capture error information for .NET exception
edit
Data Types
editcell
Cell array
edit
NET.createArray
Array for nonprimitive .NET types
edit
NET.disableAutoRelease
Lock .NET object representing a RunTime Callable Wrapper (COM Wrapper) so that MATLAB does not release COM object
edit
NET.enableAutoRelease
Unlock .NET object representing a RunTime Callable Wrapper (COM Wrapper) so that MATLAB releases COM object
edit
Properties
editNET.setStaticProperty
Static property or field name
edit
Events and Delegates
editBeginInvoke
Initiate asynchronous .NET delegate call
edit
EndInvoke
Retrieve result of asynchronous call initiated by .NET System.Delegate BeginInvoke method
edit
Combine
Convenience function for static .NET System.Delegate Combine method
edit
Remove
Convenience function for static .NET System.Delegate Remove method
edit
RemoveAll
Convenience function for static .NET System.Delegate RemoveAll method
edit
Enumerations
editbitand
Bit-wise AND
edit
bitor
Bit-wise OR
edit
bitxor
Bit-wise XOR
edit
bitnot
.NET enumeration object bit-wise NOT instance method
edit
Generic Classes
editNET.convertArray
Convert numeric MATLAB array to .NET array
edit
NET.createGeneric
Create instance of specialized .NET generic type
edit
NET.invokeGenericMethod
Invoke generic method of object
edit
NET.GenericClass
Represent parameterized generic type definitions
edit
Call COM Objects
editactxserver
Create COM server
edit
actxcontrol
Create Microsoft ActiveX control in figure window
edit
actxcontrollist
List currently installed Microsoft ActiveX controls
edit
actxcontrolselect
Create Microsoft ActiveX control from UI
edit
eventlisteners
List event handler functions associated with COM object events
edit
methodsview
View class methods
edit
registerevent
Associate event handler for COM object event at run time
edit
unregisterallevents
Unregister all event handlers associated with COM object events
edit
unregisterevent
Unregister event handler associated with COM object event at run time
edit
iscom
Determine whether input is COM or ActiveX object
edit
isevent
Determine whether input is COM object event
edit
isinterface
Determine whether input is COM interface
edit
COM
Access COM components and ActiveX controls from MATLAB
edit
Call Python Libraries
editGetting Started
editpyversion
Change default version of Python interpreter
edit
pyargs
Create keyword argument for Python function
edit
matlab.exception.PyException
Capture error information for Python exception
edit
Data Types
editpyargs
Create keyword argument for Python function
edit
Functions
editpyargs
Create keyword argument for Python function
edit
Calling Web Services
editHTTP Interface
editmatlab.net.http.RequestMessage
HTTP request message
edit
matlab.net.http.ResponseMessage
HTTP response message
edit
matlab.net.http.Message
HTTP request or response message
edit
matlab.net.http.MessageType
HTTP message type
edit
matlab.net.http.MessageBody
Body of HTTP message
edit
matlab.net.http.ProtocolVersion
HTTP protocol version
edit
matlab.net.http.RequestLine
First line of HTTP request message
edit
matlab.net.http.RequestMethod
HTTP request method
edit
matlab.net.http.StartLine
First line of HTTP message
edit
matlab.net.http.StatusClass
Status class of HTTP response
edit
matlab.net.http.StatusCode
Status code in HTTP response
edit
matlab.net.http.StatusLine
First line of HTTP response message
edit
matlab.net.http.HeaderField
Header field of HTTP message
edit
matlab.net.http.field.AcceptField
HTTP Accept header field
edit
matlab.net.http.field.AuthenticateField
HTTP WWW-Authenticate or Proxy-Authenticate header field
edit
matlab.net.http.field.AuthenticationInfoField
HTTP Authentication-Info header field in response message
edit
matlab.net.http.field.AuthorizationField
HTTP Authorization or Proxy-Authorization header field
edit
matlab.net.http.field.ContentDispositionField
HTTP Content-Disposition header field
edit
matlab.net.http.field.ContentLengthField
HTTP Content-Length field
edit
matlab.net.http.field.ContentLocationField
HTTP Content-Location header field
edit
matlab.net.http.field.ContentTypeField
HTTP Content-Type header field
edit
matlab.net.http.field.CookieField
HTTP Cookie header field
edit
matlab.net.http.field.DateField
HTTP Date header field
edit
matlab.net.http.field.GenericField
HTTP header field with any name and value
edit
matlab.net.http.field.GenericParameterizedField
GenericField to support parameterized syntax
edit
matlab.net.http.field.HTTPDateField
HTTP header field containing date
edit
matlab.net.http.field.IntegerField
Base class for HTTP header fields containing nonnegative integers
edit
matlab.net.http.field.LocationField
HTTP Location header field
edit
matlab.net.http.field.MediaRangeField
Base class for HTTP Content-Type and Accept header fields
edit
matlab.net.http.field.SetCookieField
HTTP Set-Cookie header field
edit
matlab.net.http.field.URIReferenceField
Base class for HTTP header fields containing URI components
edit
matlab.net.http.io.ContentConsumer
Consumer for HTTP message payloads
edit
matlab.net.http.io.FileConsumer
Consumer for files in HTTP messages
edit
matlab.net.http.io.StringConsumer
String consumer for HTTP payloads
edit
matlab.net.http.io.JSONConsumer
Content consumer that converts JSON input into MATLAB data
edit
matlab.net.http.io.ImageConsumer
Consumer for image data in HTTP payloads
edit
matlab.net.http.io.MultipartConsumer
Helper for multipart content types in HTTP messages
edit
matlab.net.http.io.BinaryConsumer
Consumer for binary data in HTTP messages
edit
matlab.net.http.io.GenericConsumer
Consumer for multiple content types in HTTP messages
edit
matlab.net.http.io.ContentProvider
ContentProvider for HTTP message payloads
edit
matlab.net.http.io.FileProvider
ContentProvider to send files
edit
matlab.net.http.io.FormProvider
ContentProvider that sends form data
edit
matlab.net.http.io.MultipartFormProvider
ContentProvider to send multipart/form-data messages
edit
matlab.net.http.io.StringProvider
ContentProvider to send MATLAB strings
edit
matlab.net.http.io.JSONProvider
ContentProvider to send MATLAB data as JSON string
edit
matlab.net.http.io.ImageProvider
ContentProvider to send MATLAB image data
edit
matlab.net.http.io.MultipartProvider
ContentProvider to send multipart/mixed HTTP messages
edit
matlab.net.http.io.GenericProvider
Generic ContentProvider for HTTP payloads
edit
matlab.net.http.AuthenticationScheme
HTTP Authentication scheme
edit
matlab.net.http.AuthInfo
Authentication or authorization information in HTTP messages
edit
matlab.net.http.Cookie
HTTP cookie received from server
edit
matlab.net.http.CookieInfo
HTTP cookie information
edit
matlab.net.http.Credentials
Credentials for authenticating HTTP requests
edit
matlab.net.http.Disposition
Results in HTTP log record
edit
matlab.net.http.HTTPException
Exception thrown by HTTP services
edit
matlab.net.http.HTTPOptions
Options controlling HTTP message exchange
edit
matlab.net.http.LogRecord
HTTP history log record
edit
matlab.net.http.MediaType
Internet media type used in HTTP headers
edit
matlab.net.http.ProgressMonitor
Progress monitor for HTTP message exchange
edit
matlab.net.URI
Uniform resource identifier (URI)
edit
matlab.net.ArrayFormat
Convert arrays in HTTP queries
edit
matlab.net.QueryParameter
Parameter in query portion of uniform resource identifier (URI)
edit
matlab.net.base64decode
Base 64 decoding of string
edit
matlab.net.base64encode
Base 64 encoding of byte string or vector
edit
WSDL (Web Services Description Language)
editmatlab.wsdl.createWSDLClient
Create interface to SOAP-based web service
edit
matlab.wsdl.setWSDLToolPath
Location of WSDL tools
edit
Toolbox Distribution
editThe rough equivalent of a MATLAB toolbox in Julia is a package.