LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
libraries.m
1function libs = libraries(self, options)
2% LIBS = LIBRARIES()
3% LIBS = LIBRARIES(OPTIONS)
4%
5% Third-party libraries this solver will use on its model, as a cell array of
6% names, without printing anything. Attribution in LINE is pull-based: nothing
7% is written to the console unless you ask, either through this accessor or
8% through showLibraryAttribution.
9%
10% Example:
11% solver = SolverMAM(model);
12% solver.getAvg();
13% libs = solver.libraries() % {'MAMSolver','BUTools'}
14%
15% Copyright (c) 2012-2026, Imperial College London
16% All rights reserved.
17
18if nargin < 2 || isempty(options)
19 options = self.getOptions;
20end
21try
22 sn = self.getStruct();
23catch
24 sn = [];
25end
26libs = self.getLibrariesUsed(sn, options);
27end