disable informational messages displayed by "catool" toolbox

6 ビュー (過去 30 日間)
Immelmann
Immelmann 2015 年 1 月 13 日
回答済み: Ben Brown 2015 年 4 月 12 日
Hallo,
i am using
= load_ifile(filename,offset_correction)
a function that is a component of catool toolbox (Internal Combustion Engine Indicating and Cylinder Pressure Analysis toolbox)
This display in the command window:
Combustion Analysis Tool (catool)
Copyright (C) Ben Brown, 2000-2014
Version 1.0.2 (SVN revision 561)
www.catool.org
catool incorporates code from the public.....
That is not caused by function itself but by the exetcutable as part of catool toolbox. So how can i disabel this massage.
opts1 = optimset('display','off');
% or
warning off all
does not work

採用された回答

Ben Brown
Ben Brown 2015 年 4 月 12 日
Hello,
I do not have a problem with anyone disabling my copyright message.
You can modify the load_ifile.m script. Change the line:
result = system([catoolexe ' ' temp_script]);
to
result = system([catoolexe ' --debug-level=SILENT ' temp_script]);
Possible values of debug-level in decreasing amount of output are: DEBUG, NOTICE, WARNING, ERROR, FATAL and SILENT.
If you have any problems please email support@catool.org.
Thanks,
Ben Brown.

その他の回答 (2 件)

Image Analyst
Image Analyst 2015 年 1 月 17 日
Do you see this line:
Copyright (C) Ben Brown, 2000-2014
I would strongly bet that having that message displayed is a requirement of the license and you'd be breaking the law if you removed it.
  1 件のコメント
Image Analyst
Image Analyst 2015 年 1 月 18 日
What do you mean by "the exetcutable"? Is some part of the code contained in a DLL or exe file? If so, you won't be able to modify it. If it's just in an m-file, find it and get rid of it.

サインインしてコメントする。


Immelmann
Immelmann 2015 年 1 月 17 日
ni, it is an "open source command line tool" catool
with lines like:
% Copyright (C) Ben Brown, 2000-2011
%
% This program is free software; you can redistribute it and/or modify
% it..................
in the Matlab function

カテゴリ

Help Center および File ExchangeCombustion and Turbomachinery についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by