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