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 Double
getHandle
(String path, MatlabEngine engine) static String
getSimpleTypeName
(String type) static String
getTypePathInModel
(SimulinkModel model, String type) static String
handleMethod
(ISimulinkModelElement obj, String methodName, Object[] parameters) static String
handleMethod
(SimulinkModel obj, String methodName, Object[] parameters) static String
handleMethodWithResult
(ISimulinkModelElement obj, String methodName, Object[] parameters) static String
handleMethodWithResult
(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
-