{"id":14328,"date":"2025-12-15T12:57:23","date_gmt":"2025-12-15T03:57:23","guid":{"rendered":"https:\/\/blogs.mathworks.com\/japan-community\/?p=14328"},"modified":"2025-12-15T12:57:23","modified_gmt":"2025-12-15T03:57:23","slug":"simulating-a-simulink-model-through-github-copilot-and-the-matlab-mcp-server-jp","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/japan-community\/2025\/12\/15\/simulating-a-simulink-model-through-github-copilot-and-the-matlab-mcp-server-jp\/","title":{"rendered":"Simulink \u30e2\u30c7\u30eb\u3092 GitHub Copilot \u3068 MATLAB MCP \u30b5\u30fc\u30d0\u30fc\u3067\u5b9f\u884c\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<div class=\"rtcContent\">\n<p><span style=\"color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px; white-space-collapse: preserve;\">\u203b\u3053\u306e\u6295\u7a3f\u306f 2025 \u5e74 12 \u6708 10 \u65e5\u306b <\/span><a style=\"font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px; white-space-collapse: preserve;\" href=\"https:\/\/blogs.mathworks.com\/simulink\/2025\/12\/10\/simulating-a-simulink-model-through-github-copilot-and-the-matlab-mcp-server\/?from=jp\"> Guy in Simulink \u3078 \u6295\u7a3f<\/a><span style=\"color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px; white-space-collapse: preserve;\">\u3055\u308c\u305f\u3082\u306e\u306e\u6284\u8a33\u3067\u3059\u3002<\/span><\/p>\n<h6>&#8212;<\/h6>\n<div class=\"rtcContent\">\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<div>\u6700\u8fd1 AI \u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u306e\u4e16\u754c\u3092\u63a2\u6c42\u3057\u3066\u304a\u308a\u3001\u7279\u306b Simulink \u3067\u3069\u306e\u3088\u3046\u306b\u5f79\u7acb\u3064\u304b\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002\u4eca\u56de\u306e\u6295\u7a3f\u306e\u30c6\u30fc\u30de\u306f\u300c<a href=\"https:\/\/www.mathworks.com\/products\/matlab-mcp-core-server.html\">MATLAB MCP \u30b5\u30fc\u30d0\u30fc<\/a>\u300d\u3067\u3059\u3002<\/div>\n<h2><span style=\"font-size: 20px; font-weight: bold;\">MATLAB MCP \u30b5\u30fc\u30d0\u30fc<\/span><\/h2>\n<h2><span style=\"font-size: 14px; font-weight: 400;\">MathWorks\u306f\u6700\u8fd1\u3001<\/span><a style=\"font-size: 14px; font-weight: 400;\" href=\"https:\/\/github.com\/matlab\/matlab-mcp-core-server\" class=\"external\" rel=\"nofollow\" target=\"_blank\">MATLAB MCP Core Server \u306e\u521d\u7248\u3092 GitHub \u3067\u516c\u958b<\/a><span style=\"font-size: 14px; font-weight: 400;\">\u3057\u307e\u3057\u305f\u3002<\/span><span style=\"font-size: 14px; font-weight: 400;\">Model Context Protocol\uff08MCP\uff09\u306b\u99b4\u67d3\u307f\u304c\u306a\u3044\u65b9\u306f\u3001Wikipedia\u306e\u30da\u30fc\u30b8\u300c<\/span><a style=\"font-size: 14px; font-weight: 400;\" href=\"https:\/\/en.wikipedia.org\/wiki\/Model_Context_Protocol\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Model Context Protocol &#8211; Wikipedia<\/a><span style=\"font-size: 14px; font-weight: 400;\">\u300d\u3092\u3056\u3063\u3068\u898b\u3066\u307f\u308b\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002\u7c21\u5358\u306b\u8a00\u3048\u3070\u3001\u3053\u308c\u306f OpenAI \u3084 Anthropic \u3068\u3044\u3063\u305f\u4e3b\u8981\u306a AI \u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u304c\u3001\u3042\u3089\u3086\u308b\u3082\u306e\u3068\u3084\u308a\u53d6\u308a\u3059\u308b\u305f\u3081\u306b\u63a1\u7528\u3057\u3066\u3044\u308b\u30d7\u30ed\u30c8\u30b3\u30eb\u3067\u3059\u3002<br \/>\n<\/span><span style=\"font-size: 14px; font-weight: 400;\">MathWorks \u304c MCP \u30b5\u30fc\u30d0\u30fc\u3092\u63d0\u4f9b\u3059\u308b\u3068\u3044\u3046\u3053\u3068\u306f\u3001Claude Desktop \u3084 <\/span><a style=\"font-size: 14px; font-weight: 400;\" href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/overview\" class=\"external\" rel=\"nofollow\" target=\"_blank\">VS Code \u306e GitHub Copilot<\/a><span style=\"font-size: 14px; font-weight: 400;\"> \u306e\u3088\u3046\u306a\u30c4\u30fc\u30eb\u304c\u3001\u751f\u6210\u3057\u305f\u30b3\u30fc\u30c9\u3092 MATLAB \u306b\u5b9f\u884c\u3055\u305b\u3001\u305d\u306e\u51fa\u529b\u3092\u53d7\u3051\u53d6\u308a\u3001\u81ea\u52d5\u3067\u53cd\u5fa9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u79c1\u306e\u540c\u50da\u3067\u3042\u308b Yann Debray \u3055\u3093\u3068 Akshay Paul \u3055\u3093\u304c<\/span><a style=\"font-size: 14px; font-weight: 400;\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2025\/11\/07\/releasing-the-matlab-mcp-core-server-on-github-jp\/?from=jp\">\u30d6\u30ed\u30b0\u3067\u8aac\u660e\u3057\u3066\u3044\u308b\u3088\u3046<\/a><span style=\"font-size: 14px; font-weight: 400;\">\u306b\u3001\u3082\u3046\u4eba\u9593\u304c\u30c4\u30fc\u30eb\u9593\u3067\u30b3\u30fc\u30c9\u3092\u624b\u52d5\u3067\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\uff01<br \/>\n<\/span><span style=\"font-size: 14px; font-weight: 400;\">\u3053\u306e\u6295\u7a3f\u3067\u306f\u3001VS Code \u306e GitHub Copilot \u3092\u4f7f\u3063\u3066 Simulink \u30e2\u30c7\u30eb\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b MATLAB \u30b3\u30fc\u30c9\u3092\u751f\u6210\u3059\u308b\u3001\u79c1\u306e\u6700\u521d\u306e\u8a66\u307f\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<br \/>\n<\/span><strong style=\"font-size: 14px;\">\u514d\u8cac\u4e8b\u9805: <\/strong><span style=\"font-size: 14px; font-weight: 400;\">\u3053\u3053\u3067\u8aac\u660e\u3059\u308b\u3053\u3068\u306f\u3001\u672c\u5f53\u306f\u3059\u3079\u3066 MATLAB \u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u5185\u3067\u3084\u308a\u305f\u3044\u306e\u3067\u3059\u304c\u3001<\/span><strong style=\"font-size: 14px;\">\u73fe\u6642\u70b9\u3067\u306f\u307e\u3060<\/strong><span style=\"font-size: 14px; font-weight: 400;\">\u3067\u304d\u307e\u305b\u3093\u3002\u3044\u3064\u304b\u53ef\u80fd\u306b\u306a\u308b\u3068\u78ba\u4fe1\u3057\u3066\u3044\u307e\u3059\u3057\u3001\u305d\u306e\u3068\u304d\u306f\u559c\u3093\u3067\u307e\u305f\u30d6\u30ed\u30b0\u3092\u66f8\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/span><\/h2>\n<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><strong>\u30c1\u30e3\u30ec\u30f3\u30b8<\/strong><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<div>\u3053\u306e\u6295\u7a3f\u3067\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u30b7\u30f3\u30d7\u30eb\u306a Simulink \u30e2\u30c7\u30eb\u3092\u542b\u3080 MATLAB \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<\/div>\n<\/div>\n<div style=\"background-color: #f5f5f5; margin: 10px 15px 10px 0; display: inline-block; min-width: 100%;\">\n<div class=\"inlineWrapper\">\n<div style=\"border-radius: 4px; padding: 6px 45px 4px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px; border: 1px solid #d9d9d9;\"><span style=\"white-space: pre;\">open_system(<span style=\"color: #a709f5;\">&#8216;BasicModelingSimpleSystem&#8217;<\/span>);<\/span><\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 10px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 476px; height: 302px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_2.png\" alt=\"\" width=\"476\" height=\"302\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u79c1\u306e\u76ee\u6a19\u306f\u3001VS Code \u306e GitHub Copilot \u306b\u3001\u30b9\u30c6\u30c3\u30d7\u5165\u529b\u3092\u4e0e\u3048\u3066\u30e2\u30c7\u30eb\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3057\u3001\u30ed\u30b0\u3055\u308c\u305f\u4fe1\u53f7\u300cx\u300d\u3092\u30d7\u30ed\u30c3\u30c8\u3059\u308b MATLAB \u30b3\u30fc\u30c9\u3092\u751f\u6210\u3055\u305b\u308b\u3053\u3068\u3067\u3059\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u307e\u305a\u306f\u30c4\u30fc\u30eb\u30c1\u30a7\u30fc\u30f3\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3057\u3001\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u307e\u3057\u3087\u3046\u3002\u4ee5\u4e0b\u306e\u624b\u9806\u306f\u5fc5\u8981\u4ee5\u4e0a\u306b\u8a73\u3057\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u79c1\u81ea\u8eab\u304c\u521d\u3081\u3066\u8a2d\u5b9a\u3057\u305f\u3068\u304d\u306b\u3053\u3046\u3044\u3046\u60c5\u5831\u304c\u6b32\u3057\u304b\u3063\u305f\u306e\u3067\u3001\u3053\u3053\u306b\u307e\u3068\u3081\u307e\u3059\u3002<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\">Setup<strong>\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/strong><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u307e\u305a\u3001<a href=\"https:\/\/github.com\/matlab\/matlab-mcp-core-server\" class=\"external\" rel=\"nofollow\" target=\"_blank\">MATLAB MCP Server \u306e GitHub \u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001<a href=\"https:\/\/github.com\/matlab\/matlab-mcp-core-server\/blob\/main\/README.md\" class=\"external\" rel=\"nofollow\" target=\"_blank\">readme.md<\/a> \u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u3093\u3067\u3001\u5fc5\u8981\u306a\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u6982\u8981\u3092\u628a\u63e1\u3057\u307e\u3059\u3002<\/div>\n<h3 style=\"margin: 15px 10px 5px 4px; padding: 0px; line-height: 20.4px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 17px; font-weight: bold; text-align: left;\"><strong>MATLAB MCP Core Server \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<br \/>\n<\/strong><span style=\"font-size: 14px; font-weight: 400;\">MATLAB MCP Server\u306e\u6700\u65b0\u30ea\u30ea\u30fc\u30b9\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u79c1\u306e\u5834\u5408 Windows\u3067\u306f\u3053\u308c\u306b\u306a\u308a\u307e\u3059\uff1a<\/span><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 798px; height: 740px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_3.png\" alt=\"\" width=\"798\" height=\"740\" \/><\/h3>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u5f8c\u3067 mcp.json \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u3068\u304d\u306b\u5834\u6240\u3092\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3001\u30d1\u30bd\u30b3\u30f3\u306e\u4fbf\u5229\u306a\u5834\u6240\u306b\u4fdd\u5b58\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<h3 style=\"margin: 15px 10px 5px 4px; padding: 0px; line-height: 20.4px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 17px; font-weight: bold; text-align: left;\"><strong>Visual Studio Code \u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/strong><\/h3>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><a href=\"https:\/\/code.visualstudio.com\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Visual Studio Code<\/a> \u306f\u3001\u73fe\u5728\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u306e\u3072\u3068\u3064\u3067\u3059\u3002\u305d\u306e\u4eba\u6c17\u306e\u9ad8\u3055\u304b\u3089\u3001MathWorks \u306f <a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2023\/04\/28\/do-you-use-visual-studio-code-matlab-is-now-there-too-jp\">Visual Studio Code \u7528\u306eMATLAB \u62e1\u5f35\u6a5f\u80fd<\/a>\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306f Visual Studio Code \u4e0a\u3067 MATLAB \u30b3\u30fc\u30c9\u306e\u7de8\u96c6\u3001\u5b9f\u884c\u3001\u30c7\u30d0\u30c3\u30b0\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u307e\u3060\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001\u3053\u3061\u3089\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\uff1a<a href=\"https:\/\/code.visualstudio.com\/\" class=\"external\" rel=\"nofollow\" target=\"_blank\">Visual Studio Code<\/a><\/div>\n<p style=\"margin: 15px 10px 5px 4px; padding: 0px; line-height: 20.4px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 17px; font-weight: bold; text-align: left;\"><strong>GitHub Copilot Chat \u62e1\u5f35\u6a5f\u80fd<br \/>\n<\/strong><span style=\"font-size: 14px; font-weight: 400;\">\u4eca\u56de\u3084\u308a\u305f\u3044\u3053\u3068\u306e\u305f\u3081\u306b\u3001<\/span><a style=\"font-size: 14px; font-weight: 400;\" href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/overview\" class=\"external\" rel=\"nofollow\" target=\"_blank\">GitHub Copilot Chat \u62e1\u5f35\u6a5f\u80fd<\/a><span style=\"font-size: 14px; font-weight: 400;\">\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002VS Code \u306e\u62e1\u5f35\u6a5f\u80fd\u30d1\u30cd\u30eb\u3067\u691c\u7d22\u3057\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 449px; height: 307px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_4.png\" alt=\"\" width=\"449\" height=\"307\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<div>\u3053\u308c\u304c\u7d42\u308f\u3063\u305f\u3089\u3001\u65b0\u3057\u3044\u30c1\u30e3\u30c3\u30c8\u3092\u958b\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 628px; height: 288px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_5.png\" alt=\"\" width=\"628\" height=\"288\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<div>GitHub \u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 395px; height: 530px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_6.png\" alt=\"\" width=\"395\" height=\"530\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u3082\u3057\u99b4\u67d3\u307f\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u3053\u3061\u3089\u306e\u624b\u9806\u306b\u5f93\u3063\u3066 Copilot \u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044: <a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/setup\" class=\"external\" rel=\"nofollow\" target=\"_blank\"><strong>Set up GitHub Copilot in VS Code<\/strong><\/a>\u3002\u3053\u306e\u30d6\u30ed\u30b0\u6295\u7a3f\u306e\u5185\u5bb9\u3092\u518d\u73fe\u3059\u308b\u3060\u3051\u306a\u3089\u3001GitHub Copilot \u306e\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u5341\u5206\u3067\u3059\u3002<br \/>\n\u30b5\u30a4\u30f3\u30a4\u30f3\u3059\u308b\u3068\u3001\u7121\u6599\u3067\u5229\u7528\u3067\u304d\u308b\u30e2\u30c7\u30eb\u306e\u7c21\u5358\u306a\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u6709\u6599\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u3092\u6301\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u3055\u3089\u306b\u591a\u304f\u306e\u30e2\u30c7\u30eb\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 405px; height: 272px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_7.png\" alt=\"\" width=\"405\" height=\"272\" \/><\/div>\n<h3 style=\"margin: 15px 10px 5px 4px; padding: 0px; line-height: 20.4px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 17px; font-weight: bold; text-align: left;\"><strong>Visual Studio Code \u3067 MATLAB MCP \u30b5\u30fc\u30d0\u30fc\u3092\u767b\u9332<\/strong><\/h3>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>MATLAB MCP \u30b5\u30fc\u30d0\u30fc\u304c\u6b63\u3057\u304f\u69cb\u6210\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u6700\u3082\u7c21\u5358\u306a\u65b9\u6cd5\u306f\u3001\u5229\u7528\u53ef\u80fd\u306a MATLAB \u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3092\u5c0b\u306d\u308b\u3053\u3068\u3067\u3059\u3002<br \/>\n\u3053\u306e\u6642\u70b9\u3067\u306f\u307e\u3060\u69cb\u6210\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001Copilot \u30c1\u30e3\u30c3\u30c8\u3067\u8cea\u554f\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u7d50\u679c\u306b\u306a\u308a\u307e\u3059<\/p>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 545px; height: 254px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_8.png\" alt=\"\" width=\"545\" height=\"254\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u3053\u308c\u306f\u6b32\u3057\u3044\u52d5\u4f5c\u3067\u306f\u306a\u3044\u306e\u3067\u3001\u30ad\u30e3\u30f3\u30bb\u30eb\u3057\u307e\u3057\u3087\u3046\u3002MCP \u30b5\u30fc\u30d0\u30fc\u304c\u6b63\u3057\u304f\u69cb\u6210\u3055\u308c\u3066\u3044\u308c\u3070\u3001Copilot \u306f MATLAB \u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306e\u306b <em>matlab -batch<\/em> \u3092\u4f7f\u3046\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">Visual Studio Code \u3067 MCP \u30b5\u30fc\u30d0\u30fc\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u624b\u9806\u306f\u3001\u3053\u3061\u3089\u306b\u3042\u308a\u307e\u3059\uff1a<a href=\"https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/mcp-servers\" class=\"external\" rel=\"nofollow\" target=\"_blank\">https:\/\/code.visualstudio.com\/docs\/copilot\/customization\/mcp-servers<\/a><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u3088\u308a\u5177\u4f53\u7684\u306b\u306f\u3001MathWorks\u306f\u300c<strong>Add an MCP server to a workspace mcp.json file<\/strong>\u300d\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u3042\u308b\u624b\u9806\u306b\u5f93\u3046\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001<strong>.vscode<\/strong>\u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u914d\u7f6e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 327px; height: 172px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_9.png\" alt=\"\" width=\"327\" height=\"172\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u69cb\u6587\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/github.com\/matlab\/matlab-mcp-core-server?tab=readme-ov-file#github-copilot-in-visual-studio-code\" class=\"external\" rel=\"nofollow\" target=\"_blank\">\u3053\u3061\u3089<\/a>\u3067\u8aac\u660e\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u6700\u4f4e\u9650\u3001<em>command<\/em> \u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001\u5148\u307b\u3069\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f MATLAB MCP \u30b5\u30fc\u30d0\u30fc\u306e\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u306e\u30d5\u30eb\u30d1\u30b9\u3092\u6307\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u79c1\u306e\u5834\u5408\u306f\u3001\u4f7f\u7528\u3059\u308b MATLAB \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u521d\u671f\u4f5c\u696d\u30d5\u30a9\u30eb\u30c0\u3092\u6307\u5b9a\u3059\u308b\u305f\u3081\u306b\u5f15\u6570\u3082\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002\u79c1\u306e <em>mcp.json<\/em> \u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\uff1a<\/p>\n<\/div>\n<div class=\"preformatted-plain\" style=\"margin: 10px 3px 10px 55px; padding: 10px 10px 10px 5px;\">\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">{<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0&#8220;servers&#8221;: {<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;matlab&#8221;: {<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;type&#8221;: &#8220;stdio&#8221;,<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;command&#8221;: &#8220;C:\\\\MATLAB\\\\MCP\\\\server\\\\matlab-mcp-core-server-win64.exe&#8221;,<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;args&#8221;: [&#8220;&#8211;matlab-root=C:\\\\MATLAB\\\\R2025b&#8221;,<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&#8220;&#8211;initial-working-folder=C:\\\\MATLAB\\\\blog\\\\MCP\\\\post&#8221;]<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0}<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">}<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<div>\u5229\u7528\u53ef\u80fd\u306a MATLAB \u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306b\u3064\u3044\u3066\u3001\u540c\u3058\u8cea\u554f\u3092\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4eca\u56de\u306f\u3001\u65b0\u3057\u3044 MATLAB \u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u81ea\u52d5\u7684\u306b\u8d77\u52d5\u3057\u3001Copilot\u304c\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u8a31\u53ef\u3092\u6c42\u3081\u3066\u304d\u307e\u3059\u3002\u514d\u8cac\u4e8b\u9805\u3067\u6307\u6458\u3055\u308c\u3066\u3044\u308b\u3068\u304a\u308a\u3001\u3053\u3053\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u306a\u90e8\u5206\u3067\u3059\u3002MCP \u30b5\u30fc\u30d0\u30fc\u306f AI \u304c\u751f\u6210\u3057\u305f\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u305d\u308c\u3092\u8a31\u53ef\u3059\u308b\u304b\u3069\u3046\u304b\u306f\u3001\u3042\u306a\u305f\u6b21\u7b2c\u3067\u3059\u3002<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 600px; height: 306px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_10.png\" alt=\"\" width=\"600\" height=\"306\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<div>\u3059\u3079\u3066\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308c\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u5fdc\u7b54\u304c\u8fd4\u3063\u3066\u304f\u308b\u306f\u305a\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u5229\u7528\u53ef\u80fd\u306a\u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3084\u30d6\u30ed\u30c3\u30af\u30bb\u30c3\u30c8\u3092\u793a\u3059\u3082\u306e\u3067\u3059\u3002<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 658px; height: 428px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_11.png\" alt=\"\" width=\"658\" height=\"428\" \/><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><strong>Simulink \u30e2\u30c7\u30eb\u306e\u30aa\u30fc\u30d7\u30f3\u3068\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3<\/strong><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u3067\u306f\u3001Simulink \u30e2\u30c7\u30eb\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u304d\u308b MATLAB \u30b3\u30fc\u30c9\u3092\u751f\u6210\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\uff1a<\/div>\n<div class=\"preformatted-plain\" style=\"margin: 10px 3px 10px 55px; padding: 10px 10px 10px 5px;\">\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: pre; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: pre;\">Create a MATLAB script named stepSim.m that simulates the Simulink model BasicModelingSimpleSystem.slx with a step input signal and plots the logged signal &#8216;x&#8217;.<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u300cstepSim.m \u3068\u3044\u3046\u540d\u524d\u306eMATLAB\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3001Simulink\u30e2\u30c7\u30eb <em><span style=\"white-space: pre;\">BasicModelingSimpleSystem.slx <\/span><\/em>\u3092\u30b9\u30c6\u30c3\u30d7\u5165\u529b\u4fe1\u53f7\u3067\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3057\u3001\u30ed\u30b0\u3055\u308c\u305f\u4fe1\u53f7\u300ex\u300f\u3092\u30d7\u30ed\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u300d\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n<p>\u9078\u629e\u3057\u305f\u30e2\u30c7\u30eb\u306b\u3088\u3063\u3066\u306f\u3001Copilot \u304c\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3059\u308b\u524d\u306b\u30e2\u30c7\u30eb\u3092\u7406\u89e3\u3059\u308b\u305f\u3081\u306b MATLAB \u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3088\u3046\u3068\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u79c1\u306e\u5834\u5408\u3001Copilot \u306f <a href=\"https:\/\/www.mathworks.com\/help\/simulink\/slref\/get_param.html\">get_param<\/a> \u3084 <a href=\"https:\/\/www.mathworks.com\/help\/simulink\/slref\/find_system.html\">find_system<\/a> \u3068\u3044\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u30e2\u30c7\u30eb\u306e\u5185\u5bb9\u3001\u6307\u5b9a\u3055\u308c\u305f\u30b9\u30c6\u30c3\u30d7\u5165\u529b\u306e\u8a2d\u5b9a\u65b9\u6cd5\u3001\u305d\u3057\u3066\u4fe1\u53f7\u300cx\u300d\u304c\u3069\u306e\u3088\u3046\u306b\u30ed\u30b0\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u3088\u3046\u3068\u3057\u307e\u3057\u305f\u3002<\/p>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 632px; height: 508px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_12.png\" alt=\"\" width=\"632\" height=\"508\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>&nbsp;<\/p>\n<div>\u3057\u3070\u3089\u304f\u8003\u3048\u305f\u5f8c\u3001stepSim.m\u3068\u3044\u3046\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u304c MATLAB \u306e\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u73fe\u308c\u307e\u3059\u3002<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 462px; height: 227px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_13.png\" alt=\"\" width=\"462\" height=\"227\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<div>MATLAB \u30b3\u30fc\u30c9\u306e\u751f\u6210\u306b\u52a0\u3048\u3066\u3001AI \u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u306f\u30e2\u30c7\u30eb\u3092\u5b9f\u969b\u306b\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3057\u3066\u3001\u30b3\u30fc\u30c9\u304c\u52d5\u4f5c\u3059\u308b\u3053\u3068\u3092\u691c\u8a3c\u3057\u3088\u3046\u3068\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u30c1\u30e3\u30c3\u30c8\u4e0a\u3067\u78ba\u8a8d\u3067\u304d\u305f\u8ffd\u52a0\u306e\u51fa\u529b\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\uff1a<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><img decoding=\"async\" loading=\"lazy\" class=\"imageNode\" style=\"vertical-align: baseline; width: 634px; height: 266px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_14.png\" alt=\"\" width=\"634\" height=\"266\" \/><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>&nbsp;<\/p>\n<div>\u6700\u7d42\u7684\u306b\u3001AI \u304c\u751f\u6210\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u306f 100 \u884c\u5f37\u306e\u30b3\u30fc\u30c9\u304c\u542b\u307e\u308c\u3066\u304a\u308a\u3001\u79c1\u306e\u4e88\u60f3\u3088\u308a\u305a\u3063\u3068\u591a\u3044\u3082\u306e\u3067\u3057\u305f\u3002\u3053\u3053\u3067\u306f\u305d\u306e\u524d\u534a\u90e8\u5206\u3092\u8cbc\u308a\u4ed8\u3051\u307e\u3059\u3002<\/div>\n<\/div>\n<div style=\"background-color: #f5f5f5; margin: 10px 15px 10px 0; display: inline-block; min-width: 100%;\">\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 1px solid #d9d9d9; border-bottom: 0px none #212121; border-radius: 4px 4px 0px 0px; padding: 6px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">modelName = <span style=\"color: #a709f5;\">&#8216;BasicModelingSimpleSystem&#8217;<\/span>;<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">modelFile = fullfile(pwd, [modelName <span style=\"color: #a709f5;\">&#8216;.slx&#8217;<\/span>]);<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\"><span style=\"color: #0e00ff;\">if <\/span>~exist(modelFile,<span style=\"color: #a709f5;\">&#8216;file&#8217;<\/span>)<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0error(<span style=\"color: #a709f5;\">&#8216;Model file &#8220;%s&#8221; not found in current folder: %s&#8217;<\/span>, [modelName <span style=\"color: #a709f5;\">&#8216;.slx&#8217;<\/span>], pwd);<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\"><span style=\"color: #0e00ff;\">end<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\"><span style=\"color: #008013;\">% Simulation parameters<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">tStop = 10; <span style=\"color: #008013;\">% stop time (s)<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">dt = 0.01; <span style=\"color: #008013;\">% sample interval for external input<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">stepTime = 1; <span style=\"color: #008013;\">% time at which step goes from 0 -&gt; 1<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\"><span style=\"color: #008013;\">% Build external input as a two-column [time, value] matrix<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">t = (0:dt:tStop)&#8217;;<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">u = double(t &gt;= stepTime);<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">in = [t u];<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\"><span style=\"color: #008013;\">% Load model (does not open the GUI by default)<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">load_system(modelFile);<\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\"><span style=\"color: #008013;\">% Run simulation using the external input. Use Dataset save format to capture<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\"><span style=\"color: #008013;\">% logged signals (logsout) when available.<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">simOut = sim(modelName, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #a709f5;\">&#8216;ExternalInput&#8217;<\/span>,<span style=\"color: #a709f5;\">&#8216;in&#8217;<\/span>, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #a709f5;\">&#8216;StopTime&#8217;<\/span>, num2str(tStop), <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 0px none #212121; border-radius: 0px; padding: 0px 45px 0px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #a709f5;\">&#8216;SaveOutput&#8217;<\/span>,<span style=\"color: #a709f5;\">&#8216;on&#8217;<\/span>, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<\/div>\n<div class=\"inlineWrapper\">\n<div style=\"border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-top: 0px none #212121; border-bottom: 1px solid #d9d9d9; border-radius: 0px 0px 4px 4px; padding: 0px 45px 4px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px;\"><span style=\"white-space: pre;\">\u00a0\u00a0\u00a0\u00a0<span style=\"color: #a709f5;\">&#8216;SaveFormat&#8217;<\/span>,<span style=\"color: #a709f5;\">&#8216;Dataset&#8217;<\/span>);<\/span><\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u6b8b\u308a\u306e\u90e8\u5206\u306f\u300c\u30ed\u30b0\u3055\u308c\u305f\u4fe1\u53f7\u300ex\u300f\u306e\u62bd\u51fa\u3092\u8a66\u307f\u308b\u300d\u3068\u3044\u3046\u30ed\u30b8\u30c3\u30af\u3067\u3001\u3053\u3053\u3067\u306f\u6271\u3044\u307e\u305b\u3093\u3002<\/p>\n<div>\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u3092\u898b\u3066\u6700\u521d\u306b\u601d\u3063\u305f\u3053\u3068\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\uff1a<\/p>\n<ul>\n<li>\u884c5\u301c7\u306e exist \u30c1\u30a7\u30c3\u30af\u306f\u4e0d\u8981\u3067\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u304c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5185\u306b\u3042\u308b\u3053\u3068\u306f\u5206\u304b\u3063\u3066\u3044\u307e\u3059\u3002<\/li>\n<li>load_system \u3092\u4f7f\u3046\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002sim \u30b3\u30de\u30f3\u30c9\u304c\u30e2\u30c7\u30eb\u3092\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li>in = [t u]; \u3068\u3044\u3046\u884c\u306f\u53e4\u3044\u66f8\u304d\u65b9\u306a\u306e\u3067\u3001Simulink.SimulationData.Dataset \u3092\u4f7f\u3046\u3088\u308a\u30e2\u30c0\u30f3\u306a\u69cb\u6587\u306b\u3057\u305f\u3044\u3067\u3059\u3002<\/li>\n<li>sim \u30b3\u30de\u30f3\u30c9\u306f\u3001\u3088\u308a\u65b0\u3057\u3044 Simulink.SimulationInput \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u69cb\u6587\u3092\u4f7f\u3063\u3066\u307b\u3057\u3044\u3067\u3059\u3002<\/li>\n<\/ul>\n<p>\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u7d50\u679c\u3092\u30d7\u30ed\u30c3\u30c8\u3059\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff1a<\/p>\n<\/div>\n<\/div>\n<div style=\"background-color: #f5f5f5; margin: 10px 15px 10px 0; display: inline-block; min-width: 100%;\">\n<div class=\"inlineWrapper outputs\">\n<div style=\"border-radius: 4px 4px 0px 0px; padding: 6px 45px 4px 13px; line-height: 18.004px; min-height: 0px; white-space: nowrap; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace, Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px; border: 1px solid #d9d9d9;\"><span style=\"white-space: pre;\">plot(simOut.logsout.get(<span style=\"color: #a709f5;\">&#8216;x&#8217;<\/span>).Values)<\/span><\/div>\n<div style=\"color: #212121; padding: 10px 0px 6px 17px; background: #ffffff none repeat scroll 0% 0% \/ auto padding-box border-box; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 14px; overflow-x: hidden; line-height: 17.234px;\">\n<div class=\"inlineElement eoOutputWrapper disableDefaultGestureHandling embeddedOutputsFigure\" tabindex=\"-1\" data-testid=\"output_0\">\n<div class=\"outputLayer selectedOutputDecorationLayer doNotExport\" aria-hidden=\"true\"><\/div>\n<div class=\"outputLayer activeOutputDecorationLayer doNotExport\" aria-hidden=\"true\"><\/div>\n<div class=\"outputLayer scrollableOutputDecorationLayer doNotExport\" aria-hidden=\"true\"><\/div>\n<div class=\"outputLayer navigationFocusLayer doNotExport\" tabindex=\"-1\" role=\"application\" aria-hidden=\"false\"><\/div>\n<div class=\"figureElement eoOutputContent\" role=\"article\" aria-roledescription=\"Use Browse Mode to explore \" aria-description=\"figure output \"><img decoding=\"async\" class=\"figureImage figureContainingNode\" style=\"width: 560px;\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_15.png\" \/><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div style=\"margin: 10px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u671f\u5f85\u3057\u3066\u3044\u305f\u30b9\u30c6\u30c3\u30d7\u5fdc\u7b54\u3068\u306f\u9055\u3044\u307e\u3059\uff01<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><span style=\"font-style: italic;\">\uff08\u300cout\u300d\u304c\u30bc\u30ed\u306b\u306a\u3063\u3066\u3044\u308b\u7406\u7531\u304c\u6c17\u306b\u306a\u308b\u65b9\u3078\uff1a\u30b3\u30fc\u30c9\u3067\u306fExternalInput \u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u304c\u3001LoadExternalInput \u3092\u30aa\u30f3\u306b\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u6307\u5b9a\u3057\u305f ExternalInput \u306f\u4f7f\u7528\u3055\u308c\u307e\u305b\u3093\uff09<\/span><\/div>\n<div><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\">\u307e\u3068\u3081<\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>\u4eca\u56de\u306e\u5b9f\u9a13\u304b\u3089\u5f97\u3089\u308c\u305f\u7d50\u8ad6\u306f\u4ee5\u4e0b\u306e\u3068\u304a\u308a\u3067\u3059\uff1a<\/p>\n<ul>\n<li><strong>\u826f\u304b\u3063\u305f\u70b9<\/strong>\uff1aMATLAB MCP \u30b5\u30fc\u30d0\u30fc\u306b\u3088\u3063\u3066\u3001GitHub Copilot \u304c MATLAB \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3001\u5b9f\u884c\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/li>\n<li><strong>\u8ab2\u984c\u3068\u306a\u3063\u305f\u70b9<\/strong>\uff1aAI \u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u306f\u9b54\u6cd5\u3067\u306f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3002\u3042\u3044\u307e\u3044\u306a\u4f9d\u983c\u306f\u3001\u610f\u56f3\u3057\u305f\u901a\u308a\u306e\u30b3\u30fc\u30c9\u306b\u306a\u3089\u306a\u3044\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3068\u3057\u3066\u3001Copilot \u3068\u306e\u30c1\u30e3\u30c3\u30c8\u3092\u7d9a\u3051\u3066\u30b3\u30fc\u30c9\u3092\u6d17\u7df4\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4f55\u5ea6\u304b\u3084\u308a\u53d6\u308a\u3059\u308c\u3070\u3001\u671b\u3080\u30b3\u30fc\u30c9\u3092\u5f97\u3089\u308c\u308b\u81ea\u4fe1\u306f\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u305d\u308c\u306f\u81ea\u5206\u3067\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3088\u308a\u6642\u9593\u304c\u304b\u304b\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u3057\u3066\u3001Simulink \u30e2\u30c7\u30eb\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u305f\u3073\u306b\u540c\u3058\u3084\u308a\u53d6\u308a\u3092\u7e70\u308a\u8fd4\u3057\u305f\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u4eca\u65e5\u306f\u306e\u3068\u3053\u308d\u306f\u3053\u3053\u3067\u7d42\u4e86\u3057\u307e\u3059\u3002<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\u6b21\u56de\u306e\u6295\u7a3f\u3067\u306f\u3001<a href=\"https:\/\/github.com\/matlab\/rules\" class=\"external\" rel=\"nofollow\" target=\"_blank\">MATLAB AI Coding Rules \u306e GitHub \u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u3092\u53c2\u8003\u306b\u3057\u3066\u3001Simulink \u5411\u3051\u306e AI \u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30eb\u30fc\u30eb\u3092\u81ea\u5206\u306a\u308a\u306b\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u305d\u3046\u3059\u308c\u3070\u3001GitHub Copilot \u306b\u6700\u521d\u306e\u8a66\u884c\u3067\u671b\u3080\u30b3\u30fc\u30c9\u3092\u751f\u6210\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u306f\u305a\uff01<\/div>\n<h2 style=\"margin: 20px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><strong>\u6b21\u306f\u3042\u306a\u305f\u306e\u756a\u3067\u3059<\/strong><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\">\n<p>MATLAB MCP \u30b5\u30fc\u30d0\u30fc\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304b\uff1f\u3082\u3057\u8a66\u3055\u308c\u305f\u3053\u3068\u3001\u3053\u308c\u304b\u3089\u8a66\u3057\u305f\u3044\u30a2\u30a4\u30c7\u30a2\u3042\u308c\u3070\u305c\u3072\u30b3\u30e1\u30f3\u30c8\u3067\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n<\/div>\n<p><script type=\"text\/javascript\">\n{ let css = '.eoOutputWrapper { width: calc(90vw - 10px) !important; }';\nlet head = document.head || document.getElementsByTagName('head')[0];\nlet style = document.createElement('style');\nhead.appendChild(style);\nstyle.type = 'text\/css';\nif (style.styleSheet) {\n    style.styleSheet.cssText = css;\n} else {\n    style.appendChild(document.createTextNode(css));\n}<\/p>\n<p>}<\/script><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/simulink\/files\/MCP_Server_And_Simulink.mlx-12-10-25_2.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>\n\u203b\u3053\u306e\u6295\u7a3f\u306f 2025 \u5e74 12 \u6708 10 \u65e5\u306b  Guy in Simulink \u3078 \u6295\u7a3f\u3055\u308c\u305f\u3082\u306e\u306e\u6284\u8a33\u3067\u3059\u3002<br \/>\n&#8212;<\/p>\n<p>\u6700\u8fd1 AI \u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u306e\u4e16\u754c\u3092\u63a2\u6c42\u3057\u3066\u304a\u308a\u3001\u7279\u306b Simulink \u3067\u3069\u306e\u3088\u3046\u306b\u5f79\u7acb\u3064\u304b\u3092\u898b\u3066\u3044\u304d\u307e\u3059\u3002\u4eca\u56de\u306e\u6295\u7a3f\u306e\u30c6\u30fc\u30de\u306f\u300cMATLAB MCP \u30b5\u30fc\u30d0\u30fc\u300d\u3067\u3059\u3002<br \/>\nMATLAB MCP \u30b5\u30fc\u30d0\u30fc<br \/>\nMathWorks\u306f\u6700\u8fd1\u3001MATLAB MCP&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2025\/12\/15\/simulating-a-simulink-model-through-github-copilot-and-the-matlab-mcp-server-jp\/\">read more >><\/a><\/p>\n","protected":false},"author":159,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[182,61,193],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/14328"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/users\/159"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/comments?post=14328"}],"version-history":[{"count":18,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/14328\/revisions"}],"predecessor-version":[{"id":14355,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/14328\/revisions\/14355"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media?parent=14328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/categories?post=14328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/tags?post=14328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}