# TOMLAB  
# REGISTER (TOMLAB)
# LOGIN  
# myTOMLAB
TOMLAB LOGO

« Previous « Start » Next »

6  Potential problems

A few problems may occur when compiling TOMLAB. For example TOMLAB /MAD cannot be compiled and needs to be replaced with dummy files. Also, it is not possible to compile p-coded files if they are present.

The following messages may appear when the example above is compiled:

 error LNK2001: unresolved external symbol _mlfNGetinternalderivs.
 error LNK2001: unresolved external symbol _mlfNGetvalue.
 error LNK2001: unresolved external symbol _mlfNGetderivs.

The problem is resolved by copying the files in tomlab/mad/@dummy to tomlab/mad and removing everything else in the latter.

If using a more recent version of the Matlab Compiler the following error or similar may occur:

>??? Error: File: C:\MATLAB7\toolbox\compiler\cmptool.m Line: 2115 Column: 37
"mfiles" was previously used as a function, conflicting with its
use here as the name of a variable. Error in ==> mxltool at 9
cmptool;

The problem is resolved by renaming mFiles in TOMLAB to tomFiles, and updating the TOMLAB m-files that reference this function. The latest release of TOMLAB has been modified accordingly.

The following error may also be displayed:

ERROR: Function 'help' is not implemented in standalone mode.

EXITING

This means that a TOMLAB dll used by application has not been named in the mcc call.

startup.m may be executed when running mcc if still in path. If so rename the file to startuptomlab.m

Please contact support@tomopt.com for all other problems.

« Previous « Start » Next »