LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
mexify.m
1% @brief MATLAB Coder script to generate MEX functions for fes_ module.
2%
3% This script generates MEX (MATLAB Executable) versions of FES (Flow
4% Equivalent Server) functions for improved performance.
5%
6% Skipped functions (Coder-incompatible):
7% fes_build_isolated - Uses sn struct + NodeType / GlobalConstants
8% OOP enums; relies on dynamic typing.
9% fes_compute_throughputs - Uses containers.Map, dynamic cell-array
10% queue, try/catch around pfqn_mva and a
11% cell-of-vector output.
12% fes_validate - Uses sn struct + NodeType OOP enum and
13% dynamic isfield()/sprintf() error reporting.
14%
15% See also CODER, CODER.CONFIG, CODER.TYPEOF, CODEGEN.
16
17%% Create configuration object of class 'coder.CodeConfig'.
18cfg = coder.config('mex','ecoder',false);
19cfg.GenerateReport = false;
20cfg.ReportPotentialDifferences = false;
21cfg.GenCodeOnly = false;
22
23%% No codegen-compatible functions in this domain.