Functions
connect.jl
checkSetup.jl
distributedFBA.jl
load.jl
COBRA.loadModel
— FunctionloadModel(fileName, modelName::String="model", printLevel)
Function used to load a COBRA model from an existing .mat file
INPUTS
filename
: Name of the.mat
file that contains the model structure
OPTIONAL INPUTS
modelName
: String with the name of the model structure (default: "model")printLevel
: Verbose level (default: 1). Mute all output withprintLevel = 0
.
OUTPUTS
LPproblem()
:LPproblem
object with filled fields from.mat
file
Examples
- Minimum working example
julia> loadModel("myModel.mat")
- Full input/output example
julia> model = loadModel("myModel.mat", "myModelName", 2);
See also: MAT.jl
, matopen()
, matread()