export-fmu

将 Simulink 模型导出为 FMU(功能样机单元)。在用户要求将模型导出为 FMU、配置 FMI 版本或需要生成与验证 FMU 文件时使用此功能。

仓库最近推送
GitHub Stars
160
Forks
12
Issues / PRs
2

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "export-fmu":https://skillpi.com/zh/skills/deepskill-c82d6f75cb7cb28b8b35a8e2c3fb7b995b996671da74f1ca43c17d0e4f6866ae。安装前核对上游来源和版本:https://github.com/simulink/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

将 Simulink 模型导出为 FMU(功能样机单元)。在用户要求将模型导出为 FMU、配置 FMI 版本或需要生成与验证 FMU 文件时使用此功能。

0 下载

介绍来源: third_party · simulink · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: export-fmu
description: Export a Simulink model to FMU (Functional Mock-Up Unit). Use this skill when the user asks to export a Simulink model to FMU, configure FMI versions, or needs help generating and validating an FMU file.

Export Simulink Model to FMU

You are helping the user export a Simulink model to FMU format. Operate autonomously: extract as much configuration as possible from the user's initial request and execute the workflow without unnecessary interruptions. Only stop and ask questions if information necessary to complete the process (e.g., model name, mandatory export settings) is missing or ambiguous.

Examples of Triggers

  • "Export my ac_motor model to FMU."
  • "Convert the Simulink model in this folder to an FMU file."
  • "Generate an FMU from the vehicle dynamics model."

Progress Updates: Because you are operating autonomously, you must provide visibility to the user. Before starting each new phase, output a brief text announcement (e.g., "▶️ Starting Phase 1: Model Inspection...") so the user can follow along.

Follow this multi-phase workflow. Load the detailed instructions for each phase ONLY when you are ready to execute it.

  1. Phase 1: Model Inspection Read [references/phase1_inspection.md](references/phase1_inspection.md) for instructions on locating and inspecting the model.
  2. Phase 2: Configuration Read [references/phase2_configuration.md](references/phase2_configuration.md) for configuring FMI versions, tunable parameters, and other export options.
  3. Phase 3: FMU Generation Read [references/phase3_generation.md](references/phase3_generation.md) for executing the build command and handling parameters.
  4. Phase 4: Error Analysis (If the build fails) Read [references/phase4_error_analysis.md](references/phase4_error_analysis.md) to diagnose and fix common compilation errors.
  5. Phase 5: Post-Export Validation Read [references/phase5_validation.md](references/phase5_validation.md) to verify the FMU structure and simulate the output.

After validation is complete, provide a final results summary to the user detailing the FMU file path, size, FMI version/type, exposed parameters, and simulation results.

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 解决 Simulink 模型标准化导出的工程刚需
  • 面向工业仿真领域的专业工具
触发精准95/100

亮点

  • 触发条件清晰,覆盖多种用户表达方式
  • 提供具体示例增强可理解性
结构规范85/100

待提升项

  • 缺少独立 When to Use 章节 原报告严重程度:轻微

    未设置显式的 When to Use 章节说明适用场景

    改进建议:建议添加独立章节明确使用时机和前提条件

  • 缺少完整端到端示例 原报告严重程度:轻微

    仅有流程描述,缺乏实际成功输出的完整示例

    改进建议:补充一个从输入到最终 FMU 文件的完整示例

亮点

  • 多阶段流程设计合理,逻辑清晰
  • frontmatter 完整,文档结构良好
执行可靠30/100

待提升项

  • 引用文件缺失 原报告严重程度:重大

    SKILL.md 引用了 references/phase1_inspection.md 等 5 个关键执行文件,但未包含在 Skill 包中

    改进建议:必须将所有引用的 .md 文件打包上传,否则用户无法执行任何阶段

  • 关键依赖不可用 原报告严重程度:重大

    所有 Phase 均依赖外部文件加载指令,缺失将导致整个工作流中断

    改进建议:确保 references 目录下所有文件完整且路径正确

证据可验 (前四项均值)76/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。