Ottimizzatore di controllo MATLAB MAB

Specifiche

  • Nome del prodotto: MAB Control Optimizer
  • Versione: non specificata

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. Se non è installato, eseguire il programma di installazione di MATLAB Runtime immettendo  >mcrinstaller at the MATLAB prompt.
    Nota: Administrator rights are required for installation.
  3. Alternatively, download and install the Windows version of the MATLAB Runtime for R2021b from MathWorks websito.

Files per distribuire e confezionare

When deploying the MAB Control Optimizer, make sure to include the following filenel tuo pacchetto:

  • 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.
  • Includi il file readme file per ulteriori informazioni.

“`

Ottimizzatore di controllo MAB


1. Prerequisiti per la distribuzione
Verificare che la versione 9.11 (R2021b) di MATLAB Runtime sia installata. In caso contrario, è possibile eseguire il programma di installazione di MATLAB Runtime. Per trovarne la posizione, digitare
>>mcrinstaller
al prompt di MATLAB. NOTA: per eseguire il programma di installazione di MATLAB Runtime sono necessari i diritti di amministratore.
In alternativa, scaricare e installare la versione Windows di MATLAB Runtime per R2021b dal seguente collegamento su MathWorks websito:
https://www.mathworks.com/products/compiler/mcr/index.html
Per ulteriori informazioni su MATLAB Runtime e sul programma di installazione di MATLAB Runtime, vedere "Distribuzione delle applicazioni" nella documentazione di MATLAB Compiler nel MathWorks Documentation Center.
2. Files per distribuire e confezionare


Files al pacchetto per Standalone =================================== -MAB_Optimizer.exe -MCRInstaller.exe Nota: se gli utenti finali non riescono a scaricare MATLAB Runtime utilizzando le istruzioni nella sezione precedente, includerlo durante la creazione del componente facendo clic sul collegamento "Runtime incluso nel pacchetto" nello strumento di distribuzione. -Questo file readme fileID regola
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
O:
• 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
selezionato.
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)
Titolo
The title is unique and provides a brief description of the guidelines.
Descrizione
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.
Rational
The rationale provides reasoning for the use of the guideline with regard to readability, verification
efficiency, efficiency of code after code generation, etc.
Vedi anche
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
Convenzioni generali
ar_0001: Usable characters for file nomi
Rule ID: Title ar_0001: Usable characters for file nomi
Sub ID
Raccomandazioni
NA-MAAB: a, b, c, d, e, f, g
JMAAB: a, b, c, d, e, f, g
MATLAB® Version All
Regola
Sub ID Description Custom Parameter
a Only these character types shall be used in file nomi:
 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 (estensione)
【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.
b Il file name shall not use numbers at the beginning. File (estensione)
【Incorrect】
001_JMAABModel.slx
c The file name shall not use underscores at the
inizio.
File (estensione)
【Incorrect】
_JMAABModel.slx
d The file name shall not use an underscore at the end. File (estensione)
【Incorrect】
MABModel_.slx
e Il file name shall not use consecutive underscores. File (estensione)
【Incorrect】
JMAAB__Model.slx
f The file name shall not consist solely of a single
reserved MATLAB word
File (estensione)
【Incorrect】
ans.slx
double.slx
week.slx
zero.slx, etc.
g File names on the MATLAB path shall not be identical. File (estensione)
【Incorrect】
Files with the same name are saved to the folder that goes through the MATLAB path.
12
Motivazione
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
Raccomandazioni
NA-MAAB: a, b, c, d, e, f
JMAAB: a, b, c, d, e, f
MATLAB® Version All
Regola
Sub ID Description Custom Parameter
a Only these character types shall be used in folder
nomi:
 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
inizio.

【Incorrect】
c The folder name shall not use underscores at the
inizio.

【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】
Motivazione
Sub ID Description
abcdef  Readability is impaired.
 Deviation from the rule can cause unexpected issues.
jc_0241: Length restriction for model file nomi
Rule ID: Title jc_0241: Length restriction for model file nomi
Sub ID
Raccomandazioni


NA-MAAB: a
JMAAB: a
MATLAB® Version All
Regola
Sub ID Description Custom Parameter
un modello file name length shall be a maximum of 63
characters (not including dots and extension).
Maximum model file
lunghezza del nome
Motivazione
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
Raccomandazioni
NA-MAAB: a
JMAAB: a
MATLAB® Version All
Regola
Sub ID Description Custom Parameter
a Folder name length shall be a maximum of 63 Maximum folder name
14
characters. length
Motivazione
Sub ID Description
a  Possible that the full path name cannot be display in the user interface.
3. Definizioni
Per informazioni sulla terminologia di distribuzione, visitare https://www.mathworks.com/help e selezionare MATLAB Compiler > Getting Started > About Application Deployment > Deployment Product Terms nel MathWorks Documentation Center.

Documenti / Risorse

Ottimizzatore di controllo MATLAB MAB [pdf] Manuale d'uso
Ottimizzatore di controllo MAB, Ottimizzatore di controllo, Ottimizzatore

Riferimenti

Lascia un commento

Il tuo indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *