Key words of Doxygen

基于MATLAB的太阳能光伏电力仿真,模拟每日太阳能发电,可视化功率曲线,并通过数值积分计算总能量输出。.zip 1.版本:matlab2014a/2019b/2024b 2.附赠案例数据可直接运行。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。 立即下载

 

Special Commands

Introduction

All commands in the documentation start with a backslash (/) or an at-sign (@). If you prefer you can replace all commands starting with a backslash below by their counterparts that start with an at-sign.

Some commands have one or more arguments. Each argument has a certain range:

  • If <sharp> braces are used the argument is a single word.
  • If (round) braces are used the argument extends until the end of the line on which the command was found.
  • If {curly} braces are used the argument extends until the next paragraph. Paragraphs are delimited by a blank line or by a section indicator.

If [square] brackets are used the argument is optional.

Here is an alphabetically sorted list of all commands with references to their documentation:

 

The following subsections provide a list of all commands that are recognized by doxygen. Unrecognized commands are treated as normal text.

 

--- Structural indicators ---

/addtogroup <name> [(title)]

Defines a group just like /defgroup, but in contrast to that command using the same <name> more than once will not result in a warning, but rather one group with a merged documentation and the first title found in any of the commands.

The title is optional, so this command can also be used to add a number of entities to an existing group using @{ and @} like this:

 

  /*! /addtogroup mygrp
   *  Additional documentation for group `mygrp'
   *  @{
   */

  /*!
   *  A function 
   */
  void func1()
  {
  }

  /*! Another function */
  void func2()
  {
  }

  /*! @} */

 

See also:
page Grouping, sections /defgroup, /ingroup and /weakgroup.

/callgraph

When this command is put in a comment block of a function or method and HAVE_DOT is set to YES, then doxygen will generate a call graph for that function (provided the implementation of the function or method calls other documented functions). The call graph will generated regardless of the value of CALL_GRAPH.

Note:
The completeness (and correctness) of the call graph depends on the doxygen code parser which is not perfect.

/category <name> [<header-file>] [<header-name>]

For Objective-C only: Indicates that a comment block contains documentation for a class category with name <name>. The arguments are equal to the /class command.

 

See also:
section /class.

/class <name> [<header-file>] [<header-name>]

Indicates that a comment block contains documentation for a class with name <name>. Optionally a header file and a header name can be specified. If the header-file is specified, a link to a verbatim copy of the header will be included in the HTML documentation. The <header-name> argument can be used to overwrite the name of the link that is used in the class documentation to something other than <header-file>. This can be useful if the include name is not located on the default include path (like <X11/X.h>). With the <header-name> argument you can also specify how the include statement should look like, by adding either quotes or sharp brackets around the name. Sharp brackets are used if just the name is given.

 

Example:
/* A dummy class */

class Test
{
};

/*! /class Test class.h "inc/class.h"
 *  /brief This is a test class.
 *
 * Some details about the Test class
 */
Click here for the corresponding HTML documentation that is generated by doxygen.

/def <name>

Indicates that a comment block contains documentation for a #define macro.

 

Example:
/*! /file define.h
    /brief testing defines
    
    This is to test the documentation of defines.
*/

/*!
  /def MAX(x,y)
  Computes the maximum of /a x and /a y.
*/

/*! 
   Computes the absolute value of its argument /a x.
*/
#define ABS(x) (((x)>0)?(x):-(x))
#define MAX(x,y) ((x)>(y)?(x):(y))
#define MIN(x,y) ((x)>(y)?(y):(x)) 
        /*!< Computes the minimum of /a x and /a y. */
Click here for the corresponding HTML documentation that is generated by doxygen.

/defgroup <name> (group title)

Indicates that a comment block contains documentation for a group of classes, files or namespaces. This can be used to categorize classes, files or namespaces, and document those categories. You can also use groups as members of other groups, thus building a hierarchy of groups.

The <name> argument should be a single-word identifier.

 

See also:
page Grouping, sections /ingroup, /addtogroup, /weakgroup.

/dir [<path fragment>]

Indicates that a comment block contains documentation for a directory. The "path fragment" argument should include the directory name and enough of the path to be unique w.r.t. the other directories in the project. The SHOW_DIRECTORIES option determines whether or not the directory information is shown and the STRIP_FROM_PATH option determines what is stripped from the full path before it appears in the output.

 


/enum <name>

Indicates that a comment block contains documentation for an enumeration, with name <name>. If the enum is a member of a class and the documentation block is located outside the class definition, the scope of the class should be specified as well. If a comment block is located directly in front of an enum declaration, the /enum comment may be omitted.

 

Note:
The type of an anonymous enum cannot be documented, but the values of an anonymous enum can.
Example:
class Test
{
  public:
    enum TEnum { Val1, Val2 };

    /*! Another enum, with inline docs */
    enum AnotherEnum 
    { 
      V1, /*!< value 1 */
      V2  /*!< value 2 */
    };
};

/*! /class Test
 * The class description.
 */

/*! /enum Test::TEnum
 * A description of the enum type.
 */

/*! /var Test::TEnum Test::Val1
 * The description of the first enum value.
 */
Click here for the corresponding HTML documentation that is generated by doxygen.

/example <file-name>

Indicates that a comment block contains documentation for a source code example. The name of the source file is <file-name>. The text of this file will be included in the documentation, just after the documentation contained in the comment block. All examples are placed in a list. The source code is scanned for documented members and classes. If any are found, the names are cross-referenced with the documentation. Source files or directories can be specified using the EXAMPLE_PATH tag of doxygen's configuration file.

If <file-name> itself is not unique for the set of example files specified by the EXAMPLE_PATH tag, you can include part of the absolute path to disambiguate it.

If more that one source file is needed for the example, the /include command can be used.

 

Example:
/** A Test class.
 *  More details about this class.
 */

class Test
{
  public:
    /** An example member function.
     *  More details about this function.
     */
    void example();
};

void Test::example() {}

/** /example example_test.cpp
 * This is an example of how to use the Test class.
 * More details about this example.
 */
Where the example file example_test.cpp looks as follows:
void main()
{
  Test t;
  t.example();
}
Click here for the corresponding HTML documentation that is generated by doxygen.
See also:
section /include.

/file [<name>]

Indicates that a comment block contains documentation for a source or header file with name <name>. The file name may include (part of) the path if the file-name alone is not unique. If the file name is omitted (i.e. the line after /file is left blank) then the documentation block that contains the /file command will belong to the file it is located in.

 

Important:
The documentation of global functions, variables, typedefs, and enums will only be included in the output if the file they are in is documented as well.
Example:
/** /file file.h
 * A brief file description.
 * A more elaborated file description.
 */

/**
 * A global integer value.
 * More details about this value.
 */
extern int globalValue;
Click here for the corresponding HTML documentation that is generated by doxygen.
Note:
In the above example JAVADOC_AUTOBRIEF has been set to YES in the configuration file.

/fn (function declaration)

Indicates that a comment block contains documentation for a function (either global or as a member of a class). This command is only needed if a comment block is not placed in front (or behind) the function declaration or definition.

If your comment block is in front of the function declaration or definition this command can (and to avoid redundancy should) be omitted.

A full function declaration including arguments should be specified after the /fn command on a single line, since the argument ends at the end of the line!

 

Warning:
Do not use this command if it is not absolutely needed, since it will lead to duplication of information and thus to errors.
Example:
class Test
{
  public:
    const char *member(char,int) throw(std::out_of_range);
};

const char *Test::member(char c,int n) throw(std::out_of_range) {}

/*! /class Test
 * /brief Test class.
 *
 * Details about Test.
 */

/*! /fn const char *Test::member(char c,int n) 
 *  /brief A member function.
 *  /param c a character.
 *  /param n an integer.
 *  /exception std::out_of_range parameter is out of range.
 *  /return a character pointer.
 */
Click here for the corresponding HTML documentation that is generated by doxygen.
See also:
section /var and /typedef.

/hideinitializer

By default the value of a define and the initializer of a variable are displayed unless they are longer than 30 lines. By putting this command in a comment block of a define or variable, the initializer is always hidden.

 

See also:
section /showinitializer.

/ingroup (<groupname> [<groupname> <groupname>])

If the /ingroup command is placed in a comment block of a class, file or namespace, then it will be added to the group or groups identified by <groupname>.

 

See also:
page Grouping, sections /defgroup, /addtogroup and /weakgroup


/interface <name> [<header-file>] [<header-name>]

Indicates that a comment block contains documentation for an interface with name <name>. The arguments are equal to the /class command.

 

See also:
section /class.

/internal

This command writes the message `For internal use only' to the output and all text after an /internal command until the end of the comment block or the end of the section (whichever comes first) is marked as "internal".

If the /internal command is put inside a section (see for example /section) all subsection after the command are considered to be internal as well. Only a new section at the same level will be visible again.

You can use INTERNAL_DOCS in the config file to show or hide the internal documentation.

 


/mainpage [(title)]

If the /mainpage command is placed in a comment block the block is used to customize the index page (in HTML) or the first chapter (in $/mbox{/LaTeX}$).

The title argument is optional and replaces the default title that doxygen normally generates. If you do not want any title you can specify notitle as the argument of /mainpage.

Here is an example:

/*! /mainpage My Personal Index Page
 *
 * /section intro_sec Introduction
 *
 * This is the introduction.
 *
 * /section install_sec Installation
 *
 * /subsection step1 Step 1: Opening the box
 *  
 * etc...
 */

You can refer to the main page using /ref index (if the treeview is disabled, otherwise you should use /ref main).

 

See also:
section /section, section /subsection and section /page.

/name (header)

This command turns a comment block into a header definition of a member group. The comment block should be followed by a //@{ ... //@} block containing the members of the group.

See section Member Groups for an example.

 


/namespace <name>

Indicates that a comment block contains documentation for a namespace with name <name>.

 


/nosubgrouping

This command can be put in the documentation of a class. It can be used in combination with member grouping to avoid that doxygen puts a member group as a subgroup of a Public/Protected/Private/... section.

 


/overload [(function declaration)]

This command can be used to generate the following standard text for an overloaded member function:

`This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.'

If the documentation for the overloaded member function is not located in front of the function declaration or definition, the optional argument should be used to specify the correct function.

Any other documentation that is inside the documentation block will by appended after the generated message.

 

Note 1:
You are responsible that there is indeed an earlier documented member that is overloaded by this one. To prevent that document reorders the documentation you should set SORT_MEMBER_DOCS to NO in this case.
Note 2:
The /overload command does not work inside a one-line comment.
Example:
class Test 
{
  public:
    void drawRect(int,int,int,int);
    void drawRect(const Rect &r);
};

void Test::drawRect(int x,int y,int w,int h) {}
void Test::drawRect(const Rect &r) {}

/*! /class Test
 *  /brief A short description.
 *   
 *  More text.
 */

/*! /fn void Test::drawRect(int x,int y,int w,int h)
 * This command draws a rectangle with a left upper corner at ( /a x , /a y ),
 * width /a w and height /a h. 
 */

/*!
 * /overload void Test::drawRect(const Rect &r)
 */

Click here for the corresponding HTML documentation that is generated by doxygen.

/package <name>

Indicates that a comment block contains documentation for a Java package with name <name>.

 


/page <name> (title)

Indicates that a comment block contains a piece of documentation that is not directly related to one specific class, file or member. The HTML generator creates a page containing the documentation. The $/mbox{/LaTeX}$ generator starts a new section in the chapter `Page documentation'.

 

Example:
/*! /page page1 A documentation page
  Leading text.
  /section sec An example section
  This page contains the subsections /ref subsection1 and /ref subsection2.
  For more info see page /ref page2.
  /subsection subsection1 The first subsection
  Text.
  /subsection subsection2 The second subsection
  More text.
*/

/*! /page page2 Another page
  Even more info.
*/
Click here for the corresponding HTML documentation that is generated by doxygen.
Note:
The <name> argument consists of a combination of letters and number digits. If you wish to use upper case letters (e.g. MYPAGE1), or mixed case letters (e.g. MyPage1) in the <name> argument, you should set CASE_SENSE_NAMES to YES. However, this is advisable only if your file system is case sensitive. Otherwise (and for better portability) you should use all lower case letters (e.g. mypage1) for <name> in all references to the page.
See also:
section /section, section /subsection, and section /ref.

/property (qualified property name)

Indicates that a comment block contains documentation for a property (either global or as a member of a class). This command is equivalent to /var and /fn.

 

See also:
section /fn and /var.

/protocol <name> [<header-file>] [<header-name>]

Indicates that a comment block contains documentation for a protocol in Objective-C with name <name>. The arguments are equal to the /class command.

 

See also:
section /class.

/relates <name>

This command can be used in the documentation of a non-member function <name>. It puts the function inside the `related function' section of the class documentation. This command is useful for documenting non-friend functions that are nevertheless strongly coupled to a certain class. It prevents the need of having to document a file, but only works for functions.

 

Example:
/*! 
 * A String class.
 */ 
  
class String
{
  friend int strcmp(const String &,const String &);
};

/*! 
 * Compares two strings.
 */

int strcmp(const String &s1,const String &s2)
{
}

/*! /relates String
 * A string debug function.
 */
void stringDebug()
{
}
Click here for the corresponding HTML documentation that is generated by doxygen.

/relatesalso <name>

This command can be used in the documentation of a non-member function <name>. It puts the function both inside the `related function' section of the class documentation as well as leaving its normal file documentation location. This command is useful for documenting non-friend functions that are nevertheless strongly coupled to a certain class. It only works for functions.

 


/showinitializer

By default the value of a define and the initializer of a variable are only displayed if they are less than 30 lines long. By putting this command in a comment block of a define or variable, the initializer is shown unconditionally.

 

See also:
section /hideinitializer.

/struct <name> [<header-file>] [<header-name>]

Indicates that a comment block contains documentation for a struct with name <name>. The arguments are equal to the /class command.

 

See also:
section /class.

/typedef (typedef declaration)

Indicates that a comment block contains documentation for a typedef (either global or as a member of a class). This command is equivalent to /var and /fn.

 

See also:
section /fn and /var.

/union <name> [<header-file>] [<header-name>]

Indicates that a comment block contains documentation for a union with name <name>. The arguments are equal to the /class command.

 

See also:
section /class.

/var (variable declaration)

Indicates that a comment block contains documentation for a variable or enum value (either global or as a member of a class). This command is equivalent to /typedef and /fn.

 

See also:
section /fn and /typedef.

/weakgroup <name> [(title)]

Can be used exactly like /addtogroup, but has a lower priority when it comes to resolving conflicting grouping definitions.

 

See also:
page Grouping and /addtogroup.

 

--- Section indicators ---

 


/attention { attention text }

Starts a paragraph where a message that needs attention may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /attention commands will be joined into a single paragraph. The /attention command ends when a blank line or some other sectioning command is encountered.

/author { list of authors }

Starts a paragraph where one or more author names may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /author commands will be joined into a single paragraph and separated by commas. Alternatively, one /author command may mention several authors. The /author command ends when a blank line or some other sectioning command is encountered.

 

Example:
/*! /class WindowsNT
 *  /brief Windows Nice Try.
 *  /author Bill Gates
 *  /author Several species of small furry animals gathered together 
 *          in a cave and grooving with a pict.
 *  /version 4.0
 *  /date    1996-1998
 *  /bug It crashes a lot and requires huge amounts of memory.
 *  /bug The class introduces the more bugs, the longer it is used.
 *  /warning This class may explode in your face.
 *  /warning If you inherit anything from this class, you're doomed.
 */

class WindowsNT {};
Click here for the corresponding HTML documentation that is generated by doxygen.

/brief {brief description}

Starts a paragraph that serves as a brief description. For classes and files the brief description will be used in lists and at the start of the documentation page. For class and file members, the brief description will be placed at the declaration of the member and prepended to the detailed description. A brief description may span several lines (although it is advised to keep it brief!). A brief description ends when a blank line or another sectioning command is encountered. If multiple /brief commands are present they will be joined. See section /author for an example.

Synonymous to /short.

 


/bug { bug description }

Starts a paragraph where one or more bugs may be reported. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /bug commands will be joined into a single paragraph. Each bug description will start on a new line. Alternatively, one /bug command may mention several bugs. The /bug command ends when a blank line or some other sectioning command is encountered. See section /author for an example.

 


/cond [<section-label>]

Starts a conditional section that ends with a corresponding /endcond command, which is typically found in another comment block. The main purpose of this pair of commands is to (conditionally) exclude part of a file from processing (traditionally this could only be achieved using C processor commands).

The section between /cond and /endcond commands can be included by adding its section label to the ENABLED_SECTIONS configuration option. If the section label is omitted, the section will be excluded from processing unconditionally.

For conditional sections within a comment block one should use a /if ... /endif block.

Conditional sections can be nested. In this case a nested section will only be shown if it and its containing section are included.

Here is an example showing the commands in action:

 

/** An interface */
class Intf
{
  public:
    /** A method */
    virtual void func() = 0;

    /// @cond TEST

    /** A method used for testing */
    virtual void test() = 0;

    /// @endcond
};

/// @cond DEV
/*
 *  The implementation of the interface 
 */
class Implementation : public Intf
{
  public:
    void func();

    /// @cond TEST
    void test();
    /// @endcond

    /// @cond
    /** This method is obsolete and does
     *  not show up in the documentation.
     */
    void obsolete();
    /// @endcond
};

/// @endcond 

The output will be different depending on whether ENABLED_SECTIONS is empty, TEST, DEV, or DEV TEST.

 


/date { date description }

Starts a paragraph where one or more dates may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /date commands will be joined into a single paragraph. Each date description will start on a new line. Alternatively, one /date command may mention several dates. The /date command ends when a blank line or some other sectioning command is encountered. See section /author for an example.

 


/deprecated { description }

Starts a paragraph indicating that this documentation block belongs to a deprecated entity. Can be used to describe alternatives, expected life span, etc.

 


/else

Starts a conditional section if the previous conditional section was not enabled. The previous section should have been started with a /if, /ifnot, or /elseif command.

 

See also:
/if, /ifnot, /elseif, /endif.


/elseif <section-label>

Starts a conditional documentation section if the previous section was not enabled. A conditional section is disabled by default. To enable it you must put the section-label after the ENABLED_SECTIONS tag in the configuration file. Conditional blocks can be nested. A nested section is only enabled if all enclosing sections are enabled as well.

 

See also:
sections /endif, /ifnot, /else, and /elseif.

/endcond

Ends a conditional section that was started by /cond.

 

See also:
/cond.

/endif

Ends a conditional section that was started by /if or /ifnot For each /if or /ifnot one and only one matching /endif must follow.

 

See also:
/if, and /ifnot.

/exception <exception-object> { exception description }

Starts an exception description for an exception object with name <exception-object>. Followed by a description of the exception. The existence of the exception object is not checked. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /exception commands will be joined into a single paragraph. Each parameter description will start on a new line. The /exception description ends when a blank line or some other sectioning command is encountered. See section /fn for an example.

 

Note:
the tag /exceptions is a synonym for this tag.

/if <section-label>

Starts a conditional documentation section. The section ends with a matching /endif command. A conditional section is disabled by default. To enable it you must put the section-label after the ENABLED_SECTIONS tag in the configuration file. Conditional blocks can be nested. A nested section is only enabled if all enclosing sections are enabled as well.

 

Example:
  /*! Unconditionally shown documentation.
   *  /if Cond1
   *    Only included if Cond1 is set.
   *  /endif
   *  /if Cond2
   *    Only included if Cond2 is set.
   *    /if Cond3
   *      Only included if Cond2 and Cond3 are set.
   *    /endif
   *    More text.
   *  /endif
   *  Unconditional text.
   */

You can also use conditional commands inside aliases. To document a class in two languages you could for instance use:

 

Example 2:
/*! /english
 *  This is English.
 *  /endenglish
 *  /dutch
 *  Dit is Nederlands.
 *  /enddutch
 */
class Example
{
};

Where the following aliases are defined in the configuration file:

 

ALIASES  = "english=/if english" /
           "endenglish=/endif" /
           "dutch=/if dutch" /
           "enddutch=/endif"

and ENABLED_SECTIONS can be used to enable either english or dutch.

 

See also:
sections /endif, /ifnot, /else, and /elseif.

/ifnot <section-label>

Starts a conditional documentation section. The section ends with a matching /endif command. This conditional section is enabled by default. To disable it you must put the section-label after the ENABLED_SECTIONS tag in the configuration file.

 

See also:
sections /endif, /if, /else, and /elseif.

/invariant { description of invariant }

Starts a paragraph where the invariant of an entity can be described. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /invariant commands will be joined into a single paragraph. Each invariant description will start on a new line. Alternatively, one /invariant command may mention several invariants. The /invariant command ends when a blank line or some other sectioning command is encountered.

 


/note { text }

Starts a paragraph where a note can be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /note commands will be joined into a single paragraph. Each note description will start on a new line. Alternatively, one /note command may mention several notes. The /note command ends when a blank line or some other sectioning command is encountered. See section /par for an example.

 


/par [(paragraph title)] { paragraph }

If a paragraph title is given this command starts a paragraph with a user defined heading. The heading extends until the end of the line. The paragraph following the command will be indented.

If no paragraph title is given this command will start a new paragraph. This will also work inside other paragraph commands (like /param or /warning) without ending the that command.

The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. The /par command ends when a blank line or some other sectioning command is encountered.

 

Example:
/*! /class Test
 * Normal text.
 *
 * /par User defined paragraph:
 * Contents of the paragraph.
 *
 * /par
 * New paragraph under the same heading.
 *
 * /note
 * This note consists of two paragraphs.
 * This is the first paragraph.
 *
 * /par
 * And this is the second paragraph.
 *
 * More normal text. 
 */
  
class Test {};
Click here for the corresponding HTML documentation that is generated by doxygen.

/param <parameter-name> { parameter description }

Starts a parameter description for a function parameter with name <parameter-name>. Followed by a description of the parameter. The existence of the parameter is checked and a warning is given if the documentation of this (or any other) parameter is missing or not present in the function declaration or definition.

The /param command has an optional attribute specifying the direction of the attribute. Possible values are "in" and "out". Here is an example for the function memcpy:

/*!
 Copies bytes from a source memory area to a destination memory area,
 where both areas may not overlap.
 @param[out] dest The memory area to copy to.
 @param[in]  src  The memory area to copy from.
 @param[in]  n    The number of bytes to copy
 */
void memcpy(void *dest, const void *src, size_t n);

If a parameter is both input and output, use [in,out] as an attribute.

The parameter description is a paragraph with no special internal structure. All visual enhancement commands may be used inside the paragraph.

Multiple adjacent /param commands will be joined into a single paragraph. Each parameter description will start on a new line. The /param description ends when a blank line or some other sectioning command is encountered. See section /fn for an example.

 


/post { description of the postcondition }

Starts a paragraph where the postcondition of an entity can be described. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /post commands will be joined into a single paragraph. Each postcondition will start on a new line. Alternatively, one /post command may mention several postconditions. The /post command ends when a blank line or some other sectioning command is encountered.

 


/pre { description of the precondition }

Starts a paragraph where the precondition of an entity can be described. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /pre commands will be joined into a single paragraph. Each precondition will start on a new line. Alternatively, one /pre command may mention several preconditions. The /pre command ends when a blank line or some other sectioning command is encountered.

 


/remarks { remark text }

Starts a paragraph where one or more remarks may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /remark commands will be joined into a single paragraph. Each remark will start on a new line. Alternatively, one /remark command may mention several remarks. The /remark command ends when a blank line or some other sectioning command is encountered.

 


/return { description of the return value }

Starts a return value description for a function. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /return commands will be joined into a single paragraph. The /return description ends when a blank line or some other sectioning command is encountered. See section /fn for an example.

 


/retval <return value> { description }

Starts a return value description for a function with name <return value>. Followed by a description of the return value. The text of the paragraph that forms the description has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /retval commands will be joined into a single paragraph. Each return value description will start on a new line. The /retval description ends when a blank line or some other sectioning command is encountered.

 


/sa { references }

Starts a paragraph where one or more cross-references to classes, functions, methods, variables, files or URL may be specified. Two names joined by either :: or # are understood as referring to a class and one of its members. One of several overloaded methods or constructors may be selected by including a parenthesized list of argument types after the method name.

Synonymous to /see.

 

See also:
section autolink for information on how to create links to objects.

/see { references }

Equivalent to /sa. Introduced for compatibility with Javadoc.

 


/since { text }

This tag can be used to specify since when (version or time) an entity is available. The paragraph that follows /since does not have any special internal structure. All visual enhancement commands may be used inside the paragraph. The /since description ends when a blank line or some other sectioning command is encountered.

 


/test { paragraph describing a test case }

Starts a paragraph where a test case can be described. The description will also add the test case to a separate test list. The two instances of the description will be cross-referenced. Each test case in the test list will be preceded by a header that indicates the origin of the test case.

 


/throw <exception-object> { exception description }

Synonymous to /exception (see section /exception).

 

Note:
the tag /throws is a synonym for this tag.

/todo { paragraph describing what is to be done }

Starts a paragraph where a TODO item is described. The description will also add an item to a separate TODO list. The two instances of the description will be cross-referenced. Each item in the TODO list will be preceded by a header that indicates the origin of the item.

 


/version { version number }

Starts a paragraph where one or more version strings may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /version commands will be joined into a single paragraph. Each version description will start on a new line. Alternatively, one /version command may mention several version strings. The /version command ends when a blank line or some other sectioning command is encountered. See section /author for an example.

 


/warning { warning message }

Starts a paragraph where one or more warning messages may be entered. The paragraph will be indented. The text of the paragraph has no special internal structure. All visual enhancement commands may be used inside the paragraph. Multiple adjacent /warning commands will be joined into a single paragraph. Each warning description will start on a new line. Alternatively, one /warning command may mention several warnings. The /warning command ends when a blank line or some other sectioning command is encountered. See section /author for an example.

/xrefitem <key> "(heading)" "(list title)" {text}

This command is a generalization of commands such as /todo and /bug. It can be used to create user-defined text sections which are automatically cross-referenced between the place of occurrence and a related page, which will be generated. On the related page all sections of the same type will be collected.

The first argument <key> is a identifier uniquely representing the type of the section. The second argument is a quoted string representing the heading of the section under which text passed as the forth argument is put. The third argument (list title) is used as the title for the related page containing all items with the same key. The keys "todo", "test", "bug", and "deprecated" are predefined.

To get an idea on how to use the /xrefitem command and what its effect is, consider the todo list, which (for English output) can be seen an alias for the command

 /xrefitem todo "Todo" "Todo List" 

Since it is very tedious and error-prone to repeat the first three parameters of the command for each section, the command is meant to be used in combination with the ALIASES option in the configuration file. To define a new command /reminder, for instance, one should add the following line to the configuration file:

 ALIASES += "reminder=/xrefitem reminders /"Reminder/" /"Reminders/"" 

Note the use of escaped quotes for the second and third argument of the /xrefitem command.

 


--- Commands to create links ---

/addindex (text)

This command adds (text) to the $/mbox{/LaTeX}$ index.

 


/anchor <word>

This command places an invisible, named anchor into the documentation to which you can refer with the /ref command.

 

Note:
Anchors can currently only be put into a comment block that is marked as a page (using /page) or mainpage ( /mainpage).
See also:
section /ref.

/endlink

This command ends a link that is started with the /link command.

 

See also:
section /link.

/link <link-object>

The links that are automatically generated by doxygen always have the name of the object they point to as link-text.

The /link command can be used to create a link to an object (a file, class, or member) with a user specified link-text. The link command should end with an /endlink command. All text between the /link and /endlink commands serves as text for a link to the <link-object> specified as the first argument of /link.

See section autolink for more information on automatically generated links and valid link-objects.

 


/ref <name> ["(text)"]

Creates a reference to a named section, subsection, page or anchor. For HTML documentation the reference command will generate a link to the section. For a sections or subsections the title of the section will be used as the text of the link. For anchor the optional text between quotes will be used or <name> if no text is specified. For $/mbox{/LaTeX}$ documentation the reference command will generate a section number for sections or the text followed by a page number if <name> refers to an anchor.

 

See also:
Section /page for an example of the /ref command.

/section <section-name> (section title)

Creates a section with name <section-name>. The title of the section should be specified as the second argument of the /section command.

 

Warning:
This command only works inside related page documentation and not in other documentation blocks!

/subsection <subsection-name> (subsection title)

Creates a subsection with name <subsection-name>. The title of the subsection should be specified as the second argument of the /subsection command.

 

Warning:
This command only works inside a section of a related page documentation block and not in other documentation blocks!
See also:
Section /page for an example of the /subsection command.

/subsubsection <subsubsection-name> (subsubsection title)

Creates a subsubsection with name <subsubsection-name>. The title of the subsubsection should be specified as the second argument of the /subsubsection command.

 

Warning:
This command only works inside a subsection of a related page documentation block and not in other documentation blocks!
See also:
Section /page for an example of the /subsubsection command.

/paragraph <paragraph-name> (paragraph title)

Creates a named paragraph with name <paragraph-name>. The title of the paragraph should be specified as the second argument of the /paragraph command.

 

Warning:
This command only works inside a subsubsection of a related page documentation block and not in other documentation blocks!
See also:
Section /page for an example of the /paragraph command.

 

--- Commands for displaying examples ---

/dontinclude <file-name>

This command can be used to parse a source file without actually verbatim including it in the documentation (as the /include command does). This is useful if you want to divide the source file into smaller pieces and add documentation between the pieces. Source files or directories can be specified using the EXAMPLE_PATH tag of doxygen's configuration file.

The class and member declarations and definitions inside the code fragment are `remembered' during the parsing of the comment block that contained the /dontinclude command.

For line by line descriptions of source files, one or more lines of the example can be displayed using the /line, /skip, /skipline, and /until commands. An internal pointer is used for these commands. The /dontinclude command sets the pointer to the first line of the example.

 

Example:
/*! A test class. */

class Test
{
  public:
    /// a member function
    void example();
};

/*! /page example
 *  /dontinclude example_test.cpp
 *  Our main function starts like this:
 *  /skip main
 *  /until {
 *  First we create a object /c t of the Test class.
 *  /skipline Test
 *  Then we call the example member function 
 *  /line example
 *  After that our little test routine ends.
 *  /line }
 */
Where the example file example_test.cpp looks as follows:
void main()
{
  Test t;
  t.example();
}
Click here for the corresponding HTML documentation that is generated by doxygen.
See also:
sections /line, /skip, /skipline, and /until.

/include <file-name>

This command can be used to include a source file as a block of code. The command takes the name of an include file as an argument. Source files or directories can be specified using the EXAMPLE_PATH tag of doxygen's configuration file.

If <file-name> itself is not unique for the set of example files specified by the EXAMPLE_PATH tag, you can include part of the absolute path to disambiguate it.

Using the /include command is equivalent to inserting the file into the documentation block and surrounding it with /code and /endcode commands.

The main purpose of the /include command is to avoid code duplication in case of example blocks that consist of multiple source and header files.

For a line by line description of a source files use the /dontinclude command in combination with the /line, /skip, /skipline, and /until commands.

 

See also:
section /example and /dontinclude.

/includelineno <file-name>

This command works the same way as /include, but will add line numbers to the included file.

 

See also:
section /include.

/line ( pattern )

This command searches line by line through the example that was last included using /include or /dontinclude until it finds a non-blank line. If that line contains the specified pattern, it is written to the output.

The internal pointer that is used to keep track of the current line in the example, is set to the start of the line following the non-blank line that was found (or to the end of the example if no such line could be found).

See section /dontinclude for an example.

 


/skip ( pattern )

This command searches line by line through the example that was last included using /include or /dontinclude until it finds a line that contains the specified pattern.

The internal pointer that is used to keep track of the current line in the example, is set to the start of the line that contains the specified pattern (or to the end of the example if the pattern could not be found).

See section /dontinclude for an example.

 


/skipline ( pattern )

This command searches line by line through the example that was last included using /include or /dontinclude until it finds a line that contains the specified pattern. It then writes the line to the output.

The internal pointer that is used to keep track of the current line in the example, is set to the start of the line following the line that is written (or to the end of the example if the pattern could not be found).

 

Note:
The command:
/skipline pattern
is equivalent to:
/skip pattern
/line pattern

See section /dontinclude for an example.

 


/until ( pattern )

This command writes all lines of the example that was last included using /include or /dontinclude to the output, until it finds a line containing the specified pattern. The line containing the pattern will be written as well.

The internal pointer that is used to keep track of the current line in the example, is set to the start of the line following last written line (or to the end of the example if the pattern could not be found).

See section /dontinclude for an example.

 


/verbinclude <file-name>

This command includes the file <file-name> verbatim in the documentation. The command is equivalent to pasting the file in the documentation and placing /verbatim and /endverbatim commands around it.

Files or directories that doxygen should look for can be specified using the EXAMPLE_PATH tag of doxygen's configuration file.

 


/htmlinclude <file-name>

This command includes the file <file-name> as is in the HTML documentation. The command is equivalent to pasting the file in the documentation and placing /htmlonly and /endhtmlonly commands around it.

Files or directories that doxygen should look for can be specified using the EXAMPLE_PATH tag of doxygen's configuration file.

 


--- Commands for visual enhancements ---

/a <word>

Displays the argument <word> using a special font. Use this command to refer to member arguments in the running text.

 

Example:
  ... the /a x and /a y coordinates are used to ...
  
This will result in the following text:

... the x and y coordinates are used to ...

/arg { item-description }

This command has one argument that continues until the first blank line or until another /arg is encountered. The command can be used to generate a simple, not nested list of arguments. Each argument should start with a /arg command.

 

Example:
Typing:
  /arg /c AlignLeft left alignment.
  /arg /c AlignCenter center alignment.
  /arg /c AlignRight right alignment
  
  No other types of alignment are supported.
  
will result in the following text:

  • AlignLeft left alignment.
  • AlignCenter center alignment.
  • AlignRight right alignment

No other types of alignment are supported.
Note:
For nested lists, HTML commands should be used.

Equivalent to /li

 


/b <word>

Displays the argument <word> using a bold font. Equivalent to <b>word</b>. To put multiple words in bold use <b>multiple words</b>.

 


/c <word>

Displays the argument <word> using a typewriter font. Use this to refer to a word of code. Equivalent to <tt>word</tt>.

 

Example:
Typing:
     ... This function returns /c void and not /c int ...
  
will result in the following text:

... This function returns void and not int ...

Equivalent to /p To have multiple words in typewriter font use <tt>multiple words</tt>.

 


/code

Starts a block of code. A code block is treated differently from ordinary text. It is interpreted as C/C++ code. The names of the classes and members that are documented are automatically replaced by links to the documentation.

 

See also:
section /endcode, section /verbatim


/copydoc <link-object>

Copies a documentation block from the object specified by <link-object> and pastes it at the location of the command. This command can be useful to avoid cases where a documentation block would otherwise have to be duplicated or it can be used to extend the documentation of an inherited member.

The link object can point to a member (of a class, file or group), a class, a namespace, a group, a page, or a file (checked in that order). Note that if the object pointed to is a member (function, variable, typedef, etc), the compound (class, file, or group) containing it should also be documented for the copying to work.

To copy the documentation for a member of a class for instance one can put the following in the documentation

 

  /*! @copydoc MyClass::myfunction() 
   *  More documentation.
   */

if the member is overloaded, you should specify the argument types explicitly (without spaces!), like in the following:

 

  /*! @copydoc MyClass::myfunction(type1,type2) */

Qualified names are only needed if the context in which the documentation block is found requires them.

The copydoc command can be used recursively, but cycles in the copydoc relation will be broken and flagged as an error.

 


/dot

Starts a text fragment which should contain a valid description of a dot graph. The text fragment ends with /enddot. Doxygen will pass the text on to dot and include the resulting image (and image map) into the output. The nodes of a graph can be made clickable by using the URL attribute. By using the command /ref inside the URL value you can conveniently link to an item inside doxygen. Here is an example:

/*! class B */
class B {};

/*! class C */
class C {};

/*! /mainpage

  Class relations expressed via an inline dot graph:
  /dot
  digraph example {
      node [shape=record, fontname=Helvetica, fontsize=10];
      b [ label="class B" URL="/ref B"];
      c [ label="class C" URL="/ref C"];
      b -> c [ arrowhead="open", style="dashed" ];
  }
  /enddot
  Note that the classes in the above graph are clickable 
  (in the HTML output).
 */

 


/dotfile <file> ["caption"]

Inserts an image generated by dot from <file> into the documentation.

The first argument specifies the file name of the image. doxygen will look for files in the paths (or files) that you specified after the DOTFILE_DIRS tag. If the dot file is found it will be used as an input file to the dot tool. The resulting image will be put into the correct output directory. If the dot file name contains spaces you'll have to put quotes (") around it.

The second argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.

 


/e <word>

Displays the argument <word> in italics. Use this command to emphasize words.

 

Example:
Typing:
  ... this is a /e really good example ... 
  
will result in the following text:

... this is a really good example ...

Equivalent to /em. To emphasis multiple words use <em>multiple words</em>.

 


/em <word>

Displays the argument <word> in italics. Use this command to emphasize words.

 

Example:
Typing:
  ... this is a /em really good example ... 
  
will result in the following text:

... this is a really good example ...

Equivalent to /e

 


/endcode

Ends a block of code.

See also:
section /code


/enddot

Ends a blocks that was started with /dot.

 


/endhtmlonly

Ends a block of text that was started with a /htmlonly command.

 

See also:
section /htmlonly.

/endlatexonly

Ends a block of text that was started with a /latexonly command.

 

See also:
section /latexonly.

/endmanonly

Ends a block of text that was started with a /manonly command.

 

See also:
section /manonly.

/endverbatim

Ends a block of text that was started with a /verbatim command.

 

See also:
section /verbatim.

/endxmlonly

Ends a block of text that was started with a /xmlonly command.

 

See also:
section /xmlonly.

/f$

Marks the start and end of an in-text formula.

See also:
section formulas for an example.

/f[

Marks the start of a long formula that is displayed centered on a separate line.

See also:
section /f] and section formulas.

/f]

Marks the end of a long formula that is displayed centered on a separate line.

See also:
section /f[ and section formulas.

/htmlonly

Starts a block of text that will be verbatim included in the generated HTML documentation only. The block ends with a endhtmlonly command.

This command can be used to include HTML code that is too complex for doxygen (i.e. applets, java-scripts, and HTML tags that require attributes). You can use the /latexonly and /endlatexonly pair to provide a proper $/mbox{/LaTeX}$ alternative.

Note: environment variables (like $(HOME) ) are resolved inside a HTML-only block.

 

See also:
section /manonly and section /latexonly.

/image <format> <file> ["caption"] [<sizeindication>=<size>]

Inserts an image into the documentation. This command is format specific, so if you want to insert an image for more than one format you'll have to repeat this command for each format.

The first argument specifies the output format. Currently, the following values are supported: html and latex.

The second argument specifies the file name of the image. doxygen will look for files in the paths (or files) that you specified after the IMAGE_PATH tag. If the image is found it will be copied to the correct output directory. If the image name contains spaces you'll have to put quotes (") around it. You can also specify an absolute URL instead of a file name, but then doxygen does not copy the image nor check its existance.

The third argument is optional and can be used to specify the caption that is displayed below the image. This argument has to be specified on a single line and between quotes even if it does not contain any spaces. The quotes are stripped before the caption is displayed.

The fourth argument is also optional and can be used to specify the width or height of the image. This is only useful for $/mbox{/LaTeX}$ output (i.e. format=latex). The sizeindication can be either width or height. The size should be a valid size specifier in $/mbox{/LaTeX}$ (for example 10cm or 6in or a symbolic width like /textwidth).

Here is example of a comment block:

 

  /*! Here is a snapshot of my new application:
   *  /image html application.jpg
   *  /image latex application.eps "My application" width=10cm
   */

And this is an example of how the relevant part of the configuration file may look:

 

  IMAGE_PATH     = my_image_dir

 

Warning:
The image format for HTML is limited to what your browser supports. For $/mbox{/LaTeX}$, the image format must be Encapsulated PostScript (eps).

Doxygen does not check if the image is in the correct format. So you have to make sure this is the case!

/latexonly

Starts a block of text that will be verbatim included in the generated $/mbox{/LaTeX}$ documentation only. The block ends with a endlatexonly command.

This command can be used to include $/mbox{/LaTeX}$ code that is too complex for doxygen (i.e. images, formulas, special characters). You can use the /htmlonly and /endhtmlonly pair to provide a proper HTML alternative.

Note: environment variables (like $(HOME) ) are resolved inside a $/mbox{/LaTeX}$-only block.

 

See also:
section /latexonly and section /htmlonly.

/manonly

Starts a block of text that will be verbatim included in the generated MAN documentation only. The block ends with a endmanonly command.

This command can be used to include groff code directly into MAN pages. You can use the /htmlonly and /latexonly and /endhtmlonly and /endlatexonly pairs to provide proper HTML and $/mbox{/LaTeX}$ alternatives.

 

See also:
section /htmlonly and section /latexonly.

/li { item-description }

This command has one argument that continues until the first blank line or until another /li is encountered. The command can be used to generate a simple, not nested list of arguments. Each argument should start with a /li command.

 

Example:
Typing:
  /li /c AlignLeft left alignment.
  /li /c AlignCenter center alignment.
  /li /c AlignRight right alignment
  
  No other types of alignment are supported.
  
will result in the following text:

  • AlignLeft left alignment.
  • AlignCenter center alignment.
  • AlignRight right alignment

No other types of alignment are supported.
Note:
For nested lists, HTML commands should be used.

Equivalent to /arg

 


/n

Forces a new line. Equivalent to <br> and inspired by the printf function.

 


/p <word>

Displays the parameter <word> using a typewriter font. You can use this command to refer to member function parameters in the running text.

 

Example:
  ... the /p x and /p y coordinates are used to ...
  
This will result in the following text:

... the x and y coordinates are used to ...

Equivalent to /c

 


/verbatim

Starts a block of text that will be verbatim included in both the HTML and the $/mbox{/LaTeX}$ documentation. The block should end with a /endverbatim block. All commands are disabled in a verbatim block.

 

Warning:
Make sure you include a /endverbatim command for each /verbatim command or the parser will get confused!

/xmlonly

Starts a block of text that will be verbatim included in the generated XML output only. The block ends with a endxmlonly command.

This command can be used to include custom XML tags.

 

See also:
section /htmlonly and section /latexonly.

//

This command writes a backslash character (/) to the HTML and $/mbox{/LaTeX}$ output. The backslash has to be escaped in some cases because doxygen uses it to detect commands.

 


/@

This command writes an at-sign (@) to the HTML and $/mbox{/LaTeX}$ output. The at-sign has to be escaped in some cases because doxygen uses it to detect JavaDoc commands.

 


/~[LanguageId]

This command enables/disables a language specific filter. This can be used to put documentation for different language into one comment block and use the OUTPUT_LANGUAGE tag to filter out only a specific language. Use /~language_id to enable output for a specific language only and /~ to enable output for all languages (this is also the default mode).

Example:

/*! /~english This is english /~dutch Dit is Nederlands /~german Dieses ist
    deutsch. /~ output for all languages.
 */

 


/&

This command writes the & character to output. This character has to be escaped because it has a special meaning in HTML.

 


/$

This command writes the $ character to the output. This character has to be escaped in some cases, because it is used to expand environment variables.

 


/#

This command writes the # character to the output. This character has to be escaped in some cases, because it is used to refer to documented entities.

 


/<

This command writes the < character to the output. This character has to be escaped because it has a special meaning in HTML.

 


/>

This command writes the > character to the output. This character has to be escaped because it has a special meaning in HTML.

/%

This command writes the % character to the output. This character has to be escaped in some cases, because it is used to prevent auto-linking to word that is also a documented class or struct.

 


PHP only commands

For PHP files there are a number of additional commands, that can be used inside classes to make members public, private, or protected even though the language itself doesn't support this notion.

To mark a single item use one of /private, /protected, /public. For starting a section with a certain protection level use one of: /privatesection, /protectedsection, /publicsection. The latter commands are similar to "private:", "protected:", and "public:" in C++.

 

--- Commands included for Qt compatibility ---

 


The following commands are supported to remain compatible to the Qt class browser generator. Do not use these commands in your own documentation.

  • /annotatedclasslist
  • /classhierarchy
  • /define
  • /functionindex
  • /header
  • /headerfilelist
  • /inherit
  • /l
  • /postheader
人脸识别签到考勤系统实战源码 这是一套可直接运行的人脸识别智能签到考勤系统,基于OpenCV YuNet人脸检测与SFace特征识别实现,全程本机运行,数据保存在本地SQLite,不上传任何服务器。配套交付完整Python源码、9章实战教程(md/html/pdf三种格式)、逐步骤操作截图和答辩PPT讲解。 系统围绕五个功能模块展开:人脸注册支持照片批量导入并提取特征入库;识别签到支持照片或摄像头两种方式,实时框出人脸并标注姓名、相似度与考勤状态;考勤规则引擎按config.py里配置的上下班时间与宽限分钟,自动判定迟到、早退、缺勤;Tkinter管理面板完成人员管理、流水查询与月度汇总;最后通过openpyxl一键导出整月考勤矩阵,正常绿、迟到黄、缺勤红,Excel打开即用。 选型上特意选了YuNet+SFace路线:纯pip安装免编译,CPU单帧识别不到100ms,两个ONNX模型共约37MB,出自OpenCV官方模型仓库,毕设报告引用有据可查。教程第7章整理了16条Windows下真实踩过的报错及排查方法,第8章给出换模型、换人脸、加功能的二次开发路径。 适合做计算机视觉方向毕设或课程设计的学生,也适合想给班级、实验室、小团队搭一套本地签到工具的Python学习者。运行环境为Python 3.9以上、Windows 10/11,不需要GPU。 使用时先pip install -r requirements.txt装齐依赖,再运行download_data.py下载模型,最后启动main.py即可进入图形界面;命令行register、recognize、report子命令也可脱离界面单独调用。 立即下载

相关推荐

【无人机航测】MATLAB重叠率与地面分辨率协同设计:航线间距及飞行方向优化系统 MATLAB 无人机航测重叠率设计|地面分辨率与航线间距计算

内容概要:本文档介绍了基于MATLAB R2025b开发的无人机航测重叠率与航线间距计算系统,旨在通过建立统一的航测几何计算体系,实现重叠率、地面分辨率与航线间距的动态协同设计。系统结合相机参数、飞行参数、地形数据与风场信息,通过自动化候选航向搜索与多目标优化,选择兼顾覆盖质量、飞行效率与安全性的最优航线方向。项目涵盖从参数输入、摄影测量计算、地形与安全修正,到候选路线生成、综合评价与结果可视化的全流程,并构建了五万组模拟数据用于算法验证与模型训练,支持桌面交互、批量处理与服务化部署,适用于多种复杂场景下的无人机航测任务规划。 适合人群:具备一定MATLAB编程基础和摄影测量知识的科研人员、工程技术人员及高校师生,尤其适合从事无人机航测、地理信息系统(GIS)、遥感与测绘等相关领域的从业者。 使用场景及目标:① 实现无人机航测任务中地面分辨率与航线间距的精确计算与动态优化;② 解决复杂地形与风场环境下航线方向选择困难、覆盖质量难以保障的问题;③ 通过自动化设计减少人为经验依赖,提升航测任务的可靠性与效率;④ 为后续的三维建模、正射影像生成与灾害应急评估等应用提供高质量的数据基础。 阅读建议:建议读者结合文中提供的完整代码示例与GUI界面设计,逐步实践参数配置、模型计算与结果分析流程。重点关注摄影测量公式推导、地形修正策略与多目标优化算法的实现细节,并利用模拟数据进行敏感性分析与模型验证,以深入理解系统的设计理念与工程应用价值。

【顶级EI复现】基于KKT条件与分段解析优化的双有源桥DC-DC变换器软开关协同最小应力闭环控制方法(Simulink仿真实现)

内容概要:本文详细介绍了一种基于KKT(Karush-Kuhn-Tucker)最优性条件与分段解析优化技术的双有源桥(DAB)DC-DC变换器闭环控制方法,旨在实现软开关条件下器件电压和电流应力的协同最小化,从而提升变换器的转换效率与系统可靠性。该方法通过建立精确的数学模型,结合KKT条件进行优化求解,并采用分段解析策略提高实时控制性能,在Simulink环境中完成了完整的闭环控制系统建模与仿真验证。作为“顶级EI复现”级别的研究成果,内容涵盖控制算法设计、优化机制分析、仿真架构搭建及结果对比,具有较强的理论深度与工程应用价值,适用于电力电子高频化、高效化发展的前沿研究方向。; 适合人群:面向具备电力电子、自动控制或电气工程等相关专业背景,熟悉Simulink仿真平台,且从事科研工作1年以上的研究生、博士生及科研人员;特别适合致力于DC-DC变换器拓扑优化、软开关技术、最小化开关应力控制、能量高效传输等领域研究的专业人士。; 使用场景及目标:① 复现高水平EI期刊论文中的先进优化控制算法;② 掌握KKT条件在非线性约束优化问题中的具体应用;③ 深入理解DAB变换器在不同工况下的软开关实现机制与应力抑制策略;④ 构建高精度仿真模型以支撑学术论文撰写、科研项目申报或实际工程系统的控制方案设计。; 阅读建议:建议结合提供的Simulink仿真模型同步学习,重点关注KKT条件推导过程与分段解析优化模块的实现逻辑。由于内容涉及较强的数学建模与优化理论,推荐具备扎实的电路理论、现代控制理论及数值优化基础后再行研读,并可参考同系列“顶级EI复现”资源以构建系统性知识体系。

【电力负荷预测】项目介绍 MATLAB实现基于BO-Transformer-LSTM贝叶斯优化算法(BO)优化Transformer-LSTM组合模型进行居民用户多步电力负荷预测(含模型描述及部分示例

内容概要:本文介绍了一个基于BO-Transformer-LSTM的组合模型,用于实现居民用户多步电力负荷预测的完整项目实例。该模型融合Transformer的全局注意力机制与LSTM的局部时序记忆能力,构建能够捕捉长时依赖与周期性特征的深度学习架构,并引入贝叶斯优化(BO)自动搜索最优超参数组合,提升预测精度与训练效率。项目涵盖从原始数据清洗、特征工程、滑动窗口样本构建、模型设计到超参数优化、反归一化及多步误差评估的全流程,强调时间顺序划分以防止信息泄露,并通过周期编码、外生变量融合等方式增强数据表达能力。文中提供了详细的MATLAB代码示例,包括数据预处理、网络搭建、贝叶斯优化配置和预测结果评估等关键步骤。 适合人群:具备一定机器学习和时间序列分析基础,熟悉MATLAB编程环境,从事电力系统预测、智能电网、负荷管理等相关领域的研究人员、工程师及研究生。 使用场景及目标:①应用于居民级或多用户聚合负荷的短期至中期多步预测(如未来24小时);②服务于配电系统运行调度、需求响应基线设定、家庭能源管理系统优化、分布式能源协调控制等实际工程场景;③为科研提供可复现的深度学习+贝叶斯优化的技术路线参考。 阅读建议:此资源以实际项目为导向,建议读者结合提供的代码逐步实现并调试模型,重点关注数据质量控制、时间特征编码、组合网络结构设计与贝叶斯优化稳定性之间的协同关系,在实践中深入理解多步预测中的误差累积机制与超参数敏感性问题。

交错并联图腾柱PFC变换器仿真设计(Simulink仿真实现)

内容概要:本文档系统性地介绍了基于Simulink平台的“交错并联图腾柱PFC变换器”仿真设计,聚焦于高效率功率因数校正技术的建模与实现。内容涵盖双闭环控制策略(电压外环与电流内环)、PI控制器设计、交错并联结构优化以及图腾柱拓扑的工作原理,旨在提升系统动态响应性能、降低输入电流谐波含量并改善功率因数。文档不仅提供详细的仿真模型构建流程,还配套Mathcad计算书用于参数设计与功率等级扩展,并列举了多种相关电力电子变换器的仿真案例,如三相维也纳整流器、LLC谐振变换器、双向Buck-Boost电路等,形成了一套完整的电力电子系统仿真资源体系,适用于从理论分析到工程实践的全流程学习与研究。; 适合人群:电气工程、自动化、电力电子及相关专业的高校本科生、研究生,以及从事新能源发电、电源设计、电能质量治理、工业自动化等领域的研发工程师;具备基本电路理论知识和Simulink/Matlab使用经验者更佳。; 使用场景及目标:①支持高校课程设计、毕业设计或科研项目中对先进PFC拓扑的仿真验证与性能优化;②帮助工程技术人员快速掌握图腾柱PFC的核心控制逻辑与建模方法,缩短产品开发周期;③作为电力电子系统教学与技术培训的标准化参考案例,强化理论与实践结合能力。; 其他说明:文档由“荔枝科研社”整理发布,所有资源可通过指定公众号或百度网盘链接获取,建议按照目录顺序系统学习,并结合提供的Mathcad计算书、参考文献及仿真文件进行参数验证与二次开发,以深化理解与应用能力。

测试用的衣橱app小软件,自己玩撒打算

测试用的衣橱app小软件,自己玩撒打算

【智能制造排程】基于双层编码遗传算法的柔性作业车间调度模型:工序排序与机器选择联合优化 项目介绍 MATLAB 柔性作业车间排程|遗传算法与机器选择双层编码

内容概要:本文介绍了一个基于MATLAB的柔性作业车间排程项目,采用遗传算法与双层染色体编码技术实现工序排序与机器选择的联合优化。项目构建了统一的排程模型,涵盖工件工序、候选机器、加工时间、设备能力、能耗及交付时间等要素,通过双层编码结构(工序序列层与机器选择层)分别处理加工顺序和设备分配问题,并设计了相应的解码机制、遗传操作与综合适应度函数,以最小化最大完工时间、降低设备空闲损失、提升负载均衡与能源效率为目标。系统支持模拟数据生成,融合多种概率分布反映实际生产不确定性,并输出甘特图、收敛曲线和设备利用率等结果,具备良好的可扩展性,可用于智能制造排程算法研究与实际系统开发。; 适合人群:具备一定编程基础,熟悉MATLAB环境,从事生产调度、智能制造、运筹优化等相关领域的研究人员、工程技术人员及高校研究生;有志于学习遗传算法在工业排程中应用的1-3年经验研发人员。; 使用场景及目标:①解决柔性作业车间中工序排序与机器选择耦合的复杂调度问题;②优化制造系统的最大完工时间、设备利用率、能耗与订单交付表现;③为MES、数字孪生、智能车间等系统提供核心排程算法模块;④作为教学案例或科研平台,用于算法对比、参数调优与动态重排程研究。; 阅读建议:此资源以MATLAB实现为核心,包含完整代码结构与数据生成逻辑,建议结合文中提供的代码示例进行实践运行与调试,深入理解双层编码机制、解码流程与遗传操作的设计思想,并可根据实际需求调整适应度权重或引入新约束条件进行二次开发。

超全Mathcad全桥LLC谐振变换器开关电源设计mathcad计算书

内容概要:本文介绍了“Plecs全桥LLC谐振变换器仿真模型”这一技术资源,该模型基于Plecs仿真平台构建,完整实现了全桥LLC谐振变换器的电路拓扑与控制系统,用于深入研究其在变频与移相混合控制策略下的动态行为。模型涵盖了软开关实现机制、谐振腔参数设计、功率传输特性、效率优化以及闭环控制策略等核心内容,支持对启动过程、负载突变、频率调节等工况的仿真分析,有助于全面掌握LLC变换器在高效率、高功率密度电源系统中的工作原理与设计方法。; 适合人群:具备电力电子技术基础、熟悉开关电源设计原理的研究生、硬件工程师及从事高频电源产品研发的技术人员。; 使用场景及目标:①用于高校教学与科研中对LLC谐振变换器运行机理的深入理解与验证;②辅助工程师在实际产品开发中进行关键参数设计、性能预测与优化;③支持对变频控制、软启动过程、零电压开关(ZVS)实现条件、负载调整率及系统稳定性等关键指标的仿真分析与验证。; 阅读建议:建议使用者具备Plecs或类似电力电子仿真软件的操作经验,结合经典电力电子教材与LLC设计指南进行学习,通过调整谐振元件参数、开关频率与负载条件,观察系统响应变化,以深化对谐振变换器非线性动态特性的理解,并建议将仿真结果与理论计算对照分析,提升工程设计能力。

产业园区如何通过数智工具精准识别企业技术需求,提高服务匹配效率?.docx

科易网基于AI模型+行业大数据,在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,推出科技创新领域的AI+工具与数智化解决方案,推动科技创新与产业创新智能化发展。

game.c.docx

game.c.docx

市级区域_打包.zip

这组资源是基于阿里云 DataV 平台提取的**全国省、市、县三级行政区划矢量数据**,文件格式为通用性极强的 **GeoJSON**。它轻量且结构清晰,不仅易于人类阅读,还能直接拖入 QGIS、ArcGIS 进行制图,或通过 Python (Geopandas)、JavaScript 等代码直接读取调用。 在内容涵盖上,数据从“全国 (100000)”向下细分至省级、地级市,以及县级/市辖区。每个要素(Feature)都完整包含了多边形的经纬度边界坐标,以及极其关键的 `adcode`(国家行政区划代码)、名称(name)、中心点(center)等属性。这允许你在制图时直接按代码或名称精准定位,进行数据聚合或空间裁剪。 在结构设计上,资源巧妙地兼顾了“宏观嵌套”与“微观独立”。例如,带 `_full` 后缀的市级文件,内部直接包含了该市下辖所有区县的边界,适合做全省/全市的整体可视化;而单独无后缀的区县级文件,则适合精细化拆分。此外,直辖市辖区(如北京东城区)已被正确归入县级资源,避免了层级混淆,是一套非常适合做 Web 地图可视化或本地空间分析的底图资产。

科技中介服务机构在支持企业科技成果转化时,如何实现高效资源推送与项目管理?.docx

科技中介服务机构在支持企业科技成果转化时,如何实现高效资源推送与项目管理?

PHP 安全库 HTMLPurifier 4.19.1 富文本 XSS 过滤源码包

内容概要:HTMLPurifier 4.19.1 源码包,是 PHP 后端成熟的 HTML 白名单清洗库,可过滤 XSS 恶意代码,自动修复不规范 HTML,支持 CSS 校验。 适用人群:PHP 开发工程师、后端安全开发、CMS / 富文本系统开发者。 使用场景:评论、文章、工单等用户提交富文本内容的安全过滤,支持手动引入或 composer 安装。 其他说明:支持 PHP5.6~8.5 版本,生产建议开启缓存提升性能,基于白名单机制,安全可靠。

【运维自动化】shell脚本自动化运维示例2

内容概要:本文介绍了shell脚本在自动化运维中的实际应用,重点展示了一个批量远程执行命令与文件分发的典型场景。通过编写健壮的Shell脚本,实现对多台服务器并行执行指定命令(如磁盘使用情况查询),并集成错误处理、超时控制和并发管理机制,提升运维效率与系统稳定性。脚本采用set -euo pipefail增强容错能力,利用SSH免密登录和xargs并行处理实现高效批量操作,同时强调在受控内网环境中运行以保障安全。; 适合人群:具备Linux系统基础和Shell编程经验,从事运维、DevOps或后端开发工作1-3年的技术人员。; 使用场景及目标:①用于批量服务器状态检查、配置同步、日志收集等日常运维任务;②帮助理解自动化脚本设计中的健壮性要素(如错误捕获、并发控制、安全性考虑)并应用于生产环境。; 阅读建议:此资源提供可直接修改复用的实用脚本范例,建议结合自身运维环境进行适配测试,重点关注SSH安全配置、并发参数调优及异常输出捕获,确保在真实部署中稳定可靠。

半桥LLC谐振DCDC变换器的设计与仿真(Simulink仿真实现)

内容概要:本文系统阐述了半桥LLC谐振DCDC变换器的设计原理与Simulink仿真方法,重点围绕其开环与闭环控制系统展开建模与分析。内容涵盖LLC谐振变换器的工作原理、谐振腔参数设计、软开关实现机制、增益特性分析,以及恒压恒流双闭环控制策略的实现方式。通过构建完整的Simulink仿真模型,验证变换器在不同输入电压和负载条件下的动态响应性能与系统稳定性,深入揭示其高效率、高功率密度的技术优势,为实际电源系统如充电桩、车载电源及工业电源等应用场景提供理论支撑与仿真验证手段。; 适合人群:具备电力电子技术基础,熟悉DCDC变换器拓扑结构与控制理论,从事新能源变换系统、开关电源研发或正在进行相关课题研究的研究生、工程师及科研技术人员。; 使用场景及目标:①掌握LLC谐振变换器的关键工作模态与谐振参数设计方法;②学习基于Simulink平台的电力电子系统级建模与闭环控制器设计流程;③为高频高效DCDC变换器的实际工程项目提供设计参考与仿真验证方案; 阅读建议:建议结合文中所述仿真模型,动手搭建Simulink环境,逐步调试谐振元件参数与控制环路PI参数,深入理解谐振频率、电压增益曲线与环路稳定性之间的耦合关系,并可延伸学习全桥LLC、双有源桥DAB等先进拓扑,进一步提升电力电子系统设计能力。

国央企创新负责人如何通过平台实现科研成果的快速识别与转化?.docx

科易网基于AI模型+行业大数据,在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,推出科技创新领域的AI+工具与数智化解决方案,推动科技创新与产业创新智能化发展。

PotPlayer自用皮肤

自用 PotPlayer 皮肤,仅微调了字体大小与颜色,是按个人习惯调整,未做适配性调整。

科技中介服务机构如何提升服务效率与用户黏性?.docx

科易网基于AI模型+行业大数据,在技术转移、成果转化、技术经纪、知识产权、产业创新、科技招商等垂直领域的多样化应用场景,推出科技创新领域的AI+工具与数智化解决方案,推动科技创新与产业创新智能化发展。

2-shell及常用命令-续.pdf

2-shell及常用命令-续.pdf

上一篇: Carbide.c++ 2.0 免费下载
下一篇: TEF例子代码
mickeyfirst
博客等级 码龄25年 82粉丝 179原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值