Skip to content

Instantly share code, notes, and snippets.

@jotech jotech/0_matlab_example.R
Last active May 22, 2019

Embed
What would you like to do?
import matlab models
library("BacArena")
library("R.matlab")
mod <- readMATmod("Actinobacillus_pleuropneumoniae_L20.mat")
arena <- Arena(n=10,m=10)
arena <- addOrg(arena, Bac(mod), 10)
arena <- addDefaultMed(arena, Bac(mod))
sim <- simEnv(arena, time=5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.