Accessing Other Classes with Builder NE

1 view (last 30 days)
Cam
Cam on 24 Jun 2013
In Matlab Builder NE, I created and compiled two classes - MLSim and MLGame. MLSim has the file "Simulator.m" (which contains the method "simulate()") and MLGame has the file "runGame.m." runGame.m is just a call to "simulator = Simulator; simulator.simulate();"
When I compile these two files into a project and reference them in my C# program, the line "game.runGame()" (after "MLGame game = new MLGame();") is executed, throws an error that it can't find the file for Simulator.
I'm stuck as to how to fix this and specify where the Simulator.m file is, so any help is much appreciated.

Answers (0)

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!