MATLAB MAB Оптимизатор за контрола

Спецификации

  • Име на производ: Оптимизатор за контрола на MAB
  • Верзија: Не е одредено

Prerequisites for Deployment

Before deploying the MAB Control Optimizer, ensure that the following prerequisites are met:

  1. Verify that version 9.11 (R2021b) of the MATLAB Runtime is installed.
  2. Ако не е инсталиран, стартувајте го инсталерот на MATLAB Runtime со внесување  >mcrinstaller at the MATLAB prompt.
    Забелешка: Administrator rights are required for installation.
  3. Alternatively, download and install the Windows version of the MATLAB Runtime for R2021b from MathWorks webсајт.

Files за распоредување и пакување

When deploying the MAB Control Optimizer, make sure to include the following files во вашиот пакет:

  • MAB_Optimizer.exe
  • MCRInstaller.exe
  • If end users face issues downloading the MATLAB Runtime, include it by selecting the “Runtime included in package” option in the Deployment Tool.
  • Вклучи го readme-то file за дополнителни информации.

„`

Оптимизатор на MAB контрола


1. Предуслови за распоредување
Потврдете дека е инсталирана верзијата 9.11 (R2021b) на MATLAB Runtime. Ако не е, можете да го стартувате инсталерот на MATLAB Runtime. За да ја пронајдете неговата локација, внесете
>>mcrinstaller
на MATLAB промптот. ЗАБЕЛЕШКА: Ќе ви бидат потребни администраторски права за да го стартувате MATLAB Runtime инсталерот.
Алтернативно, преземете ја и инсталирајте ја Windows верзијата на MATLAB Runtime за R2021b од следниов линк на MathWorks. webсајт:
https://www.mathworks.com/products/compiler/mcr/index.html
За повеќе информации во врска со MATLAB Runtime и инсталерот на MATLAB Runtime, видете „Дистрибуција на апликации“ во документацијата за MATLAB компајлерот во Центарот за документација на MathWorks.
2. Files за распоредување и пакување


Files до пакет за самостоен систем ================================= -MAB_Optimizer.exe -MCRInstaller.exe Забелешка: ако крајните корисници не се во можност да го преземат MATLAB Runtime користејќи ги упатствата во претходниот дел, вклучете го при градењето на вашата компонента со кликнување на врската „Runtime included in package“ во алатката за распоредување. -Овој readme fileID на правило
A rule ID, which is used to identify the guideline, consists of two lower case letters and a four-digit
number. The letter and number combination is separated by an underscore. For example, xx_nnnn. A
rule ID is permanent and will not change.
Note: The two-letters in the rule ID identify the guideline author. db, jm, hd, ar are used for Ver 1.0
guidelines. na and jc are used for guidelines created from Ver 2.0 to present.
Sub ID Recommendations
Specifies guideline sub IDs that are recommended for use by the NA-MAAB (North American MathWorks
Automotive Advisory Board) and JMAAB (Japan MathWorks Automotive Advisory Board) modeling
standards organizations. Each organization is a region-specific consortium of OEMs and suppliers; NAMAAB represents North America and Europe. JMAAB represents Japan.
MATLAB® Versions
MAB guidelines support all versions of MATLAB and Simulink products. When a rule applies only to a
specific version(s), the version is identified in the MATLAB Version field by using one of these formats:
• All — All versions of MATLAB
• RX, RY, RZ — A specific version of MATLAB
• RX and earlier — Versions of MATLAB until version RX
• RX and later — Versions of MATLAB from version RX to the current version
• RX through RY — Versions of MATLAB between RX and RY
Sub ID
Specifies the condition(s) of the rule. There can be multiple sub IDs per rule ID, which are designated as
или:
• Selectable ― Consist of one lower-case letter (alphabetical order). The choice of whether to
adopt a selectable sub ID is left to the user.
• Mutually Exclusive ― Consist of one lower case letter (alphabetical order) and a single-digit
number. When choosing to accept or reject a mutually exclusive sub ID, only one option can be
избрани.
Example
xy_0000 → xy_0000a Selectable (user’s choice)
→ xy_0000b1 Mutually Exclusive (if using, choose from xy_0000b1 or xy_0000b2)
→ xy_0000b2 Mutually Exclusive (if using, choose from xy_0000b1 or xy_0000b2)
Наслов
The title is unique and provides a brief description of the guidelines.
Опис
The description uses figures and tables to provide details for the guideline rules.
This table identifies characters that are used in the description
Description content Explanation Example
[] (square brackets) Block name [Outport] { } (curly brackets)
Block parameter name
Stateflow parameter name
Configuration parameter settings
{Display propagated signal}
10
“ ” (double quotation marks) Parameter setting value “0”
Custom Parameters
For rules that include custom parameters, the chosen value is specific for the project with regard to the
item being described.
Example of objects and values are provided in the description field. However, a project’s processes,
condition of the control target, and skill levels of the engineers should be comprehensively evaluated
when specifying a custom parameter.
Рационално
The rationale provides reasoning for the use of the guideline with regard to readability, verification
efficiency, efficiency of code after code generation, etc.
Видете исто така
This optional section is only available in guidelines that have additional reference information that may
be helpful to better understand the guideline.
11
2. Naming Conventions
Општи конвенции
ar_0001: Usable characters for file имиња
Rule ID: Title ar_0001: Usable characters for file имиња
Sub ID
Препораки
NA-MAAB: a, b, c, d, e, f, g
JMAAB: a, b, c, d, e, f, g
MATLAB® Version All
Правило
Sub ID Description Custom Parameter
a Only these character types shall be used in file имиња:
 single-byte alphanumeric characters (a-z, A-Z, 0-9)
 single-byte underscore (_)
Line breaks, single-byte spaces, double-byte
characters, and control characters shall not be used.
File types that are checked for model and MATLAB
files shall be set in the project settings.
File (продолжување)
【Incorrect】
MAB Model.slx Single-byte spaces are used.
JMAAB 設定.m Double-byte characters are used.
NA-MAABModel.p
JMAAB(Model).mdl Symbol characters are used.
б На file name shall not use numbers at the beginning. File (продолжување)
【Incorrect】
001_JMAABModel.slx
c The file name shall not use underscores at the
почеток.
File (продолжување)
【Incorrect】
_JMAABModel.slx
d The file name shall not use an underscore at the end. File (продолжување)
【Incorrect】
MABModel_.slx
e На file name shall not use consecutive underscores. File (продолжување)
【Incorrect】
JMAAB__Model.slx
f The file name shall not consist solely of a single
reserved MATLAB word
File (продолжување)
【Incorrect】
ans.slx
double.slx
week.slx
zero.slx, etc.
g File names on the MATLAB path shall not be identical. File (продолжување)
【Incorrect】
Files with the same name are saved to the folder that goes through the MATLAB path.
12
Образложение
Sub ID Description
abcf  Readability is impaired.
 Deviation from the rule can cause unexpected issues.
de  Readability is impaired.
g
 If there are multiple files with the same name, the one higher on the path is loaded.
As a result, unnecessary files might be included.
 Readability is impaired.
 Deviation from the rule can cause unexpected issues.
ar_0002: Usable characters for folder names
Rule ID: Title ar_0002: Usable characters for folder names
Sub ID
Препораки
NA-MAAB: a, b, c, d, e, f
JMAAB: a, b, c, d, e, f
MATLAB® Version All
Правило
Sub ID Description Custom Parameter
a Only these character types shall be used in folder
имиња:
 Single-byte alphanumeric characters (a-z, A-Z, 0-9)
 Single-byte underscore (_)
Line breaks, single-byte spaces, double-byte
characters, and control characters shall not be used.

【Incorrect】
Symbol characters are used.
Single-byte spaces are used.
Double-byte characters are used.
b The folder name shall not use numbers at the
почеток.

【Incorrect】
c The folder name shall not use underscores at the
почеток.

【Incorrect】
d The folder name shall not use underscores at the end. –
13
【Incorrect】
e The folder name shall not use consecutive
underscores.

【Incorrect】
f The folder name shall not consist solely of a single
reserved MATLAB word.

【Incorrect】
Образложение
Sub ID Description
abcdef  Readability is impaired.
 Deviation from the rule can cause unexpected issues.
jc_0241: Length restriction for model file имиња
Rule ID: Title jc_0241: Length restriction for model file имиња
Sub ID
Препораки


NA-MAAB: a
JMAAB: a
MATLAB® Version All
Правило
Sub ID Description Custom Parameter
модел file name length shall be a maximum of 63
characters (not including dots and extension).
Maximum model file
должина на името
Образложение
Sub ID Description
a  Possible that a long file name cannot be referred to in the model reference.
jc_0242: Length restriction for folder names
Rule ID: Title jc_0242: Length restriction for folder names
Sub ID
Препораки
NA-MAAB: a
JMAAB: a
MATLAB® Version All
Правило
Sub ID Description Custom Parameter
a Folder name length shall be a maximum of 63 Maximum folder name
14
characters. length
Образложение
Sub ID Description
a  Possible that the full path name cannot be display in the user interface.
3. Дефиниции
За информации за терминологијата за распоредување, посетете ја страницата https://www.mathworks.com/help и изберете MATLAB Compiler > Getting Started > About Application Deployment > Deployment Product Terms во Центарот за документација на MathWorks.

Документи / ресурси

MATLAB MAB Оптимизатор за контрола [pdf] Упатство за користење
Оптимизатор на контрола на MAB, Оптимизатор на контрола, Оптимизатор

Референци

Оставете коментар

Вашата адреса за е-пошта нема да биде објавена. Задолжителните полиња се означени *