Class SimulinkUtil
- java.lang.Object
-
- org.eclipse.epsilon.emc.simulink.util.SimulinkUtil
-
public class SimulinkUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIND
static String
FIND_FOLLOW
-
Constructor Summary
Constructors Constructor Description SimulinkUtil()
-
Method Summary
-
-
-
Field Detail
-
FIND
public static final String FIND
- See Also:
- Constant Field Values
-
FIND_FOLLOW
public static final String FIND_FOLLOW
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTypePathInModel
public static String getTypePathInModel(SimulinkModel model, String type)
-
handleMethod
public static String handleMethod(ISimulinkModelElement obj, String methodName, Object[] parameters)
-
handleMethod
public static String handleMethod(SimulinkModel obj, String methodName, Object[] parameters)
-
handleMethodWithResult
public static String handleMethodWithResult(ISimulinkModelElement obj, String methodName, Object[] parameters)
-
handleMethodWithResult
public static String handleMethodWithResult(SimulinkModel obj, String methodName, Object[] parameters)
-
getHandle
public static Double getHandle(String path, MatlabEngine engine)
-
getChildren
public static List<ISimulinkModelElement> getChildren(SimulinkModel model, SimulinkBlock block) throws MatlabException
SPECIFIC COLLECTION- Throws:
MatlabException
-
getChildren
public static List<ISimulinkModelElement> getChildren(SimulinkModel model) throws MatlabException
- 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
-
-