Home > mfiles > mexFileLost.m

mexFileLost

PURPOSE ^

mexFileLost - displays a message if a mex file couldn't be found.

SYNOPSIS ^

function mexFileLost

DESCRIPTION ^

 mexFileLost - displays a message if a mex file couldn't be found.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % mexFileLost - displays a message if a mex file couldn't be found.
0002 
0003 % This file is part of the SaliencyToolbox - Copyright (C) 2006-2007
0004 % by Dirk B. Walther and the California Institute of Technology.
0005 % See the enclosed LICENSE.TXT document for the license agreement.
0006 % More information about this project is available at:
0007 % http://www.saliencytoolbox.net
0008 
0009 function mexFileLost
0010 
0011 name = callingFunctionName;
0012 
0013 fprintf('\nThis is only the help file for the mex file %s.\n',name);
0014 fprintf('Make sure that the SaliencyToolbox/bin directory is in your Matlab path.\n');
0015 fprintf('If you still see this message, then %s might need\n',name);
0016 fprintf('to be compiled for your system. The source code is in:\n');
0017 fprintf('SaliencyToolbox/mex/%s.cpp\n',name);
0018 fprintf('See SaliencyToolbox/doc/index.html for instructions on how\n');
0019 fprintf('to compile the code.\n\n');
0020 
0021 fatal(['MEX file ' name ' could not be found.']);

Generated on Fri 07-Sep-2007 14:42:18 by m2html © 2003