public abstract class SimulinkElement extends SimulinkModelElement implements ISimulinkElement
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ADD_BLOCK_MAKE_NAME_UNIQUE_ON |
protected static String |
GET_FULL_NAME |
protected static String |
GET_SIMULINK_KIND |
protected static String |
GET_SIMULINK_TYPE |
protected Double |
handle |
protected static String |
HANDLE |
engine, model, superType, type| Constructor and Description |
|---|
SimulinkElement(SimulinkModel model,
MatlabEngine engine) |
SimulinkElement(SimulinkModel model,
MatlabEngine engine,
Double handle) |
SimulinkElement(SimulinkModel model,
MatlabEngine engine,
String type) |
SimulinkElement(String path,
SimulinkModel model,
MatlabEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Collection<String> |
getAllTypeNamesOf() |
Double |
getHandle() |
String |
getPath() |
Object |
getProperty(String property) |
void |
setProperty(String property,
Object value) |
String |
toString() |
getEngine, getOwningModel, getSuperType, getTypeclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdeleteElementInModel, getEngine, getTypegetOwningModelprotected static final String ADD_BLOCK_MAKE_NAME_UNIQUE_ON
protected static final String HANDLE
protected static final String GET_SIMULINK_KIND
protected static final String GET_SIMULINK_TYPE
protected static final String GET_FULL_NAME
protected Double handle
public SimulinkElement(SimulinkModel model, MatlabEngine engine, String type) throws MatlabRuntimeException
MatlabRuntimeExceptionpublic SimulinkElement(SimulinkModel model, MatlabEngine engine, Double handle) throws MatlabRuntimeException
MatlabRuntimeExceptionpublic SimulinkElement(String path, SimulinkModel model, MatlabEngine engine) throws MatlabRuntimeException
MatlabRuntimeExceptionpublic SimulinkElement(SimulinkModel model, MatlabEngine engine)
public Object getProperty(String property) throws EolIllegalPropertyException
getProperty in interface ISimulinkModelElementEolIllegalPropertyExceptionpublic void setProperty(String property, Object value) throws EolIllegalPropertyException
setProperty in interface ISimulinkModelElementEolIllegalPropertyExceptionpublic Double getHandle()
getHandle in interface ISimulinkElementpublic String getPath()
getPath in interface ISimulinkModelElementpublic boolean equals(Object other)
equals in interface ISimulinkModelElementequals in class Objectpublic Collection<String> getAllTypeNamesOf()
getAllTypeNamesOf in interface ISimulinkModelElementCopyright © 2018. All rights reserved.