public interface MATLABService extends SingletonService<MATLABCommands>, SciJavaService
Service performing any utility operations required for MATLAB.| Modifier and Type | Method and Description |
|---|---|
String |
commandHelp()
Builds a complete usage message by querying the
MATLABCommands.help() method of all available commands. |
void |
initializeCommands()
Creates a MATLAB variable for each
MATLABCommands plugin using the
Plugin.name() property as an identifier. |
void |
makeMATLABVariable(String name,
Object value)
Attempts to create a variable in MATLAB with the give name and value.
|
create, filterInstances, getInstance, getInstances, initialize, objectServicegetPlugins, getPluginService, getPluginType, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposeString commandHelp()
MATLABCommands.help() method of all available commands.MATLABCommands.void initializeCommands()
MATLABCommands plugin using the
Plugin.name() property as an identifier.
For example, if you create an AwesomeMATLABCommands class with
name=FOO and method public void bar(), after calling this
method you will be able to execute FOO.bar from within MATLAB.
NB: execution of this method requires a valid MATLAB installation.
Copyright © 2015–2022 SciJava. All rights reserved.