
424 Accelerating MATLAB
®
Performance
The Coder Screener output now looks much cleaner, but some work still remains.
8.2.3.4 Bypassing Unsupported MATLAB Calls
As shown by the Screener output at the end of the previous section, the list of MATLAB
functions in dijkstra.m that are not supported by the Coder includes three:
1. eval is used in four places within the code (lines 145, 149, 257, and 277) to display
dijkstra.m’s help in the Command Window:
eval(['help' mfilename]);
We cannot use the help function directly, because that function too is not sup-
ported. Instead, we elect to simply comment these four code lines. The reduced
functionality ...