Package org.lemsml.export.matlab
Class MatlabWriter
- java.lang.Object
-
- org.lemsml.export.base.ABaseWriter
-
- org.lemsml.export.matlab.MatlabWriter
-
- All Implemented Interfaces:
IBaseWriter
public class MatlabWriter extends ABaseWriter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MatlabWriter.Method
-
Field Summary
-
Fields inherited from class org.lemsml.export.base.ABaseWriter
format, lems, sli
-
-
Constructor Summary
Constructors Constructor Description MatlabWriter(org.lemsml.jlems.core.type.Lems lems)
MatlabWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addComment(StringBuilder sb, String comment)
List<File>
convert()
String
getMainScript()
void
setMethod(MatlabWriter.Method method)
void
setSupportedFeatures()
-
Methods inherited from class org.lemsml.export.base.ABaseWriter
getOutputFileName, getOutputFolder, setOutputFileName, setOutputFolder
-
-
-
-
Constructor Detail
-
MatlabWriter
public MatlabWriter(org.lemsml.jlems.core.type.Lems lems) throws ModelFeatureSupportException, org.lemsml.jlems.core.sim.LEMSException, org.neuroml.model.util.NeuroMLException
- Throws:
ModelFeatureSupportException
org.lemsml.jlems.core.sim.LEMSException
org.neuroml.model.util.NeuroMLException
-
MatlabWriter
public MatlabWriter(org.lemsml.jlems.core.type.Lems lems, File outputFolder, String outputFileName) throws ModelFeatureSupportException, org.lemsml.jlems.core.sim.LEMSException, org.neuroml.model.util.NeuroMLException
- Throws:
ModelFeatureSupportException
org.lemsml.jlems.core.sim.LEMSException
org.neuroml.model.util.NeuroMLException
-
-
Method Detail
-
setSupportedFeatures
public void setSupportedFeatures()
-
addComment
protected void addComment(StringBuilder sb, String comment)
- Specified by:
addComment
in classABaseWriter
-
setMethod
public void setMethod(MatlabWriter.Method method)
-
getMainScript
public String getMainScript() throws GenerationException
- Throws:
GenerationException
-
convert
public List<File> convert() throws GenerationException, IOException
- Throws:
GenerationException
IOException
-
-