Class SimulinkUtil
java.lang.Object
org.eclipse.epsilon.emc.simulink.util.SimulinkUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ISimulinkModelElement>findBlocks(SimulinkModel model, Integer depth) static List<ISimulinkModelElement>findBlocks(SimulinkModel model, SimulinkBlock block, Integer depth) static List<ISimulinkModelElement>getChildren(SimulinkModel model) static List<ISimulinkModelElement>getChildren(SimulinkModel model, SimulinkBlock block) SPECIFIC COLLECTIONstatic DoublegetHandle(String path, MatlabEngine engine) static StringgetSimpleTypeName(String type) static StringgetTypePathInModel(SimulinkModel model, String type) static StringhandleMethod(ISimulinkModelElement obj, String methodName, Object[] parameters) static StringhandleMethod(SimulinkModel obj, String methodName, Object[] parameters) static StringhandleMethodWithResult(ISimulinkModelElement obj, String methodName, Object[] parameters) static StringhandleMethodWithResult(SimulinkModel obj, String methodName, Object[] parameters)
-
Field Details
-
FIND
- See Also:
-
FIND_FOLLOW
- See Also:
-
-
Constructor Details
-
SimulinkUtil
public SimulinkUtil()
-
-
Method Details
-
getSimpleTypeName
-
getTypePathInModel
-
handleMethod
public static String handleMethod(ISimulinkModelElement obj, String methodName, Object[] parameters) -
handleMethod
-
handleMethodWithResult
public static String handleMethodWithResult(ISimulinkModelElement obj, String methodName, Object[] parameters) -
handleMethodWithResult
public static String handleMethodWithResult(SimulinkModel obj, String methodName, Object[] parameters) -
getHandle
-
getChildren
public static List<ISimulinkModelElement> getChildren(SimulinkModel model, SimulinkBlock block) throws MatlabException SPECIFIC COLLECTION- Throws:
MatlabException
-
getChildren
- Throws:
MatlabException
-
findBlocks
public static List<ISimulinkModelElement> findBlocks(SimulinkModel model, Integer depth) throws MatlabException - Throws:
MatlabException
-
findBlocks
public static List<ISimulinkModelElement> findBlocks(SimulinkModel model, SimulinkBlock block, Integer depth) throws MatlabException - Throws:
MatlabException
-