Skip to content

Commit

Permalink
240401.103345.HKT update setup.m regarding the message printed when M…
Browse files Browse the repository at this point in the history
…EX verification fails
  • Loading branch information
zaikunzhang committed Apr 1, 2024
1 parent 66776db commit 56a4e29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.m
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 159,9 @@ function setup(varargin)
language = 'Fortran'; % Language to compile
mex_well_conf = try_mex_setup(language);
if mex_well_conf == 0
fprintf('\nVerification FAILED.\n')
fprintf('\nThe MEX of your MATLAB is not properly configured for compiling Fortran.');
fprintf('\nPlease configure MEX before using this package. Try ''help mex'' for more information.\n\n');
fprintf('\nPlease configure MEX before using this package. Try ''help mex'' for more information.');
fprintf('\nNote that MEX is a product of MathWorks, and its configuration is not part of this package.\n\n');
return
elseif mex_well_conf == -1
fprintf('\nmex(''-setup'', ''%s'') runs successfully but we cannot verify that MEX works properly.', language);
Expand Down

0 comments on commit 56a4e29

Please sign in to comment.