


Load the f**king factory.
A function to generate the factory object required in a number of MIKE
toolbox examples. Should prevent errors in functions.
USAGE
Wherever a MIKE toolbox example shows this:
factory = DfsFactory();
replace it with this:
factory = mrg_effing_factory();

0001 function factory = mrg_effing_factory() 0002 % Load the f**king factory. 0003 % 0004 % A function to generate the factory object required in a number of MIKE 0005 % toolbox examples. Should prevent errors in functions. 0006 % 0007 % USAGE 0008 % Wherever a MIKE toolbox example shows this: 0009 % factory = DfsFactory(); 0010 % replace it with this: 0011 % factory = mrg_effing_factory(); 0012 % 0013 0014 NET.addAssembly('DHI.Generic.MikeZero.DFS'); 0015 import DHI.Generic.MikeZero.DFS.*; 0016 factory = DfsFactory(); 0017 0018 end