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 classMatlabWriter.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 voidaddComment(StringBuilder sb, String comment)List<File>convert()StringgetMainScript()voidsetMethod(MatlabWriter.Method method)voidsetSupportedFeatures()-
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:
ModelFeatureSupportExceptionorg.lemsml.jlems.core.sim.LEMSExceptionorg.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:
ModelFeatureSupportExceptionorg.lemsml.jlems.core.sim.LEMSExceptionorg.neuroml.model.util.NeuroMLException
-
-
Method Detail
-
setSupportedFeatures
public void setSupportedFeatures()
-
addComment
protected void addComment(StringBuilder sb, String comment)
- Specified by:
addCommentin 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:
GenerationExceptionIOException
-
-