File tree Expand file tree Collapse file tree 3 files changed +11
-32
lines changed
Expand file tree Collapse file tree 3 files changed +11
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4242%% main part
4343
4444if ~exist(' mexbobyqa' , ' file' )
45- error(' mexbobyqa does not exist. Please compile it first from Fortran.' );
45+ error(sprintf([' The mexbobyqa file does not exist. Please compile it first\n ' ,...
46+ ' by running the file compile_mexbobyqa.m in the bobyqa directory.' ]));
4647end
4748
4849bobyqafun_sfbg = fun ;
Original file line number Diff line number Diff line change 1+ % Run this file once in order to compile the mexbobyqa.F file to the mexbobyqa.mex***
2+ % format, which can be recognized by Matlab. Then you will be able to use the
3+ % bobyqa.m function.
4+
5+ % Required: Your current Matlab installation must be connected to a Fortran compiler.
6+ % For further information see:
7+ % https://mathworks.com/help/matlab/build-fortran-mex-files-1.html
8+
9+ mex mexbobyqa.F
You can’t perform that action at this time.
0 commit comments