- name
SKILL.md
スキルファイルは公開元のリポジトリに置かれたままです。
コピーしたコマンドをターミナルに貼り付けてください。この SKILL.md がそのエージェントにインストールされます。
npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-code-interfaces -a cursor -yコピーしたコマンドをターミナルに貼り付けてください。この SKILL.md がそのエージェントにインストールされます。
npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-code-interfaces -a claude-code -yコピーしたコマンドをターミナルに貼り付けてください。この SKILL.md がそのエージェントにインストールされます。
npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-code-interfaces -a codex -yコピーしたコマンドをターミナルに貼り付けてください。この SKILL.md がそのエージェントにインストールされます。
npx skills add matlab/simulink-agentic-toolkit --skill simulink-configure-code-interfaces -a grok -yコピーしたメッセージを Grok Bot のチャットで送信してください。Bot がこの SKILL.md を GitHub から取得し、すべての Bot が共有するスキルに追加します。
Install this skill: https://github.com/matlab/simulink-agentic-toolkit/tree/HEAD/skills-catalog/code-generation/simulink-configure-code-interfaces公開元より
Configure how model elements map to generated code — storage classes for elements in models configured with data interface configuration, and service interfaces for elements in models configured with service interface configuration.
Prerequisite: For full functionality of the skill (such as function mapping, specifying the deployment type, and using service interface configuration),
the model needs to be configured with the ERT system target file (SystemTargetFile = "ert.tlc", or an ERT-based derivative such as ert_shrlib.tlc or a vendor ERT target). When the model is configured with the GRT system
target file (SystemTargetFile = "grt.tlc"), only basic configuration operations such as specifying the storage class of model elements are supported. To configure the model with the ERT system target file, use the neighboring skill simulink-configure-model-for-code-generation.
Requires:
Simulink.Parameter or Simulink.Signal), that is a different workflow — see references/code_mapping.md, which also covers the one case that must be configured on the object..h or its definition in a designated .c file. These requests map model elements to storage classes even when the user never explicitly says "storage class" or "code mapping".mFunctions_startup".simulink-configure-model-for-code-generation.building-simulink-models.simulink-customize-a2l (coder.asap2.*). This skill owns the model-side calibration attributes that code mappings carry (Export, CalibrationAccess, BitMask, CompuMethod, DisplayIdentifier, Format) and that the A2L export then reads; it does not edit the A2L file.hdlcoder.* APIs and generates VHDL/Verilog.coder.mapping.* or coder.dictionary.*. The generated code is still C or C++, but uses different mapping APIs. For example, when the API surface is one of these:
autosar.api.*). For authoring a Classic AUTOSAR software component — including its port, data, and service interface configuration — use the skill simulink-author-classic-autosar-swc.SystemTargetFile = "ert.tlc" and CodeInterfacePackaging = "C++ class").This skill covers C Data Interface configuration when using Simulink Coder or Embedded Coder. The skill also covers C Service Interface configuration when using Embedded Coder.
introspect_api, find(cm,...), model_read/model_query_params, getModelParameter/getDeploymentType/getDataStore, coder.dictionary/coder.mapping getters — are safe. Run them freely to diagnose, detect mode, and verify; never stop to ask before a read. The confirmation gate below applies only to writes (save_system, slbuild, addEntry/set(entry,...)).introspect_api (in scripts/) BEFORE assigning any storage class, service, deployment type, or per-element property. It returns allowed values, valid properties, and the current mode (DataInterface vs ServiceInterface). This is a required first step — do NOT discover valid values by trial-and-error or repeated probing calls. Enumerate first, then set the value you learned is valid.save_system or slbuild (or set GenCodeOnly and build) without explicit user confirmation. Saving overwrites the user's model/dictionary on disk; building can be long-running and writes generated code. Configure the mappings, report exactly what you changed, ask, and wait for a yes.addEntry/set(entry,...) until the user provides the actual values (pragmas, storage classes, interface entries encode project intent).EmbeddedCoderDictionary only, and only through model_edit (a configure op on config:<ModelName>). Never set DataDictionary to bring in a coder dictionary — it fails silently, leaving the model resolved to DataInterface. Do not reach for set_param/get_param on either parameter. See references/coder_dictionary.md.references/simulink-configure-code-interfaces.md — mode selection, per-mode workflows, deployment types, per-model mappings in a model-reference hierarchy, and the end-to-end "fresh model → generated code" spinereferences/code_mapping.md — coder.mapping.* API: storage-class mechanisms, port/state mapping, function naming/prototypes, silent-failure detection and verification patternsreferences/coder_dictionary.md — coder.dictionary.* API: creating/linking dictionaries, entries and their properties (getAvailableProperties), communication methodsCopyright 2026 The MathWorks, Inc.
Use the skill to control and verify the code interface configuration of your model — how Simulink® model elements are represented in the generated C or C++ code.
---name: simulink-configure-code-interfacesdescription: Use the skill to control and verify the code interface configuration of your model — how Simulink® model…---# skills-catalog/code-generation/simulink-configure-code-interfaces/SKILL.mdよくある質問
公開元から skills-catalog/code-generation/simulink-configure-code-interfaces/SKILL.md をダウンロードするか、パスをコピーしてリポジトリを開いてください。PlugMCP はスキルを掲載するだけで、ファイルはホストしていません。
公開元は https://github.com/matlab/simulink-agentic-toolkit で管理しています。
Claude、Cursor、Codex、Grok Build は、公開元のリポジトリから追加した SKILL.md を読み込めます。Grok Bot は、チャットでスキルの GitHub フォルダーのリンクを送るとインストールします。
setModelParameter), even on GRT; never set .StorageClass on the object. External parameter object (base workspace or data dictionary) → .StorageClass on the object; setModelParameter cannot address it. See references/code_mapping.md.