{"id":14812,"date":"2026-10-05T14:32:16","date_gmt":"2026-10-05T05:32:16","guid":{"rendered":"https:\/\/blogs.mathworks.com\/japan-community\/?p=14812"},"modified":"2026-10-05T14:35:21","modified_gmt":"2026-10-05T05:35:21","slug":"ai-agent-demystified-building-a-minimalist-agent-in-matlab-jp","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/japan-community\/2026\/10\/05\/ai-agent-demystified-building-a-minimalist-agent-in-matlab-jp\/","title":{"rendered":"MATLAB\u3067\u4f5c\u3063\u3066\u7406\u89e3\u3059\u308b AI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8: \u6700\u5c0f\u69cb\u6210\u304b\u3089\u59cb\u3081\u308b"},"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 2026 \u5e74 9 \u6708 22 \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\/matlab\/2026\/09\/22\/ai-agent-demystified-building-a-minimalist-agent-in-matlab\/?from=jp\"> The MATLAB Blog \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: normal; 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 class=\"_richTextNode\" style=\"font-weight: bold; font-style: italic;\">\u7565\u6b74:<\/span> <span class=\"_richTextNode\" style=\"font-style: italic;\">\u3053\u308c\u306f\u30aa\u30f3\u30e9\u30a4\u30f3\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3067\u6d3b\u52d5\u3059\u308b <a href=\"https:\/\/www.linkedin.com\/in\/toshi\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\">Toshi Takeuchi<\/a> \u306b\u3088\u308b\u30b2\u30b9\u30c8\u6295\u7a3f\u3067\u3059\u3002Toshi \u306f\u3053\u306e 20 \u5e74\u9593\u3001MathWorks \u3067\u6570\u591a\u304f\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u8077\u3092\u52d9\u3081\u3066\u304d\u307e\u3057\u305f\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u6700\u8fd1\u306f\u3069\u3053\u3067\u3082 AI \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u8a71\u3092\u8033\u306b\u3057\u307e\u3059\u304c\u3001\u305d\u308c\u304c\u4f55\u306a\u306e\u304b\u3001\u3069\u308c\u307b\u3069\u5b9f\u5728\u611f\u306e\u3042\u308b\u3082\u306e\u306a\u306e\u304b\u3001\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u3068\u3044\u3046\u4eba\u3082\u591a\u3044\u306f\u305a\u3067\u3059\u3002\u305f\u3060\u306e\u6d41\u884c\u8a9e\u306a\u306e\u3067\u3057\u3087\u3046\u304b\u3002\u5b9f\u73fe\u3067\u304d\u308b\u3053\u3068\u306b\u306f\u9a5a\u304b\u3055\u308c\u307e\u3057\u305f\u304c\u3001\u3042\u308b\u5834\u6240\u3067\u6b21\u306e\u4e00\u6587\u3092\u8aad\u3080\u307e\u3067\u306f\u3001\u3069\u3046\u3057\u3066\u305d\u308c\u304c\u53ef\u80fd\u306a\u306e\u304b\u7406\u89e3\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\" style=\"font-weight: bold;\">\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3068\u306f\u3001\u5358\u306b LLM + \u30eb\u30fc\u30d7 + \u30c4\u30fc\u30eb\u306b\u3059\u304e\u306a\u3044\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u305d\u3053\u3067\u5b9f\u969b\u306b\u3069\u3046\u52d5\u304f\u306e\u304b\u3092\u5b66\u3076\u305f\u3081\u306b\u3001MATLAB \u3067\u3054\u304f\u5c0f\u3055\u306a\u3082\u306e\u3092\u4f5c\u3063\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u305d\u306e\u7d50\u679c\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f\u3082\u306f\u3084\u8b0e\u3081\u3044\u305f\u3082\u306e\u3067\u306f\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002MATLAB \u30e6\u30fc\u30b6\u30fc\u304c\u3059\u3067\u306b\u3088\u304f\u77e5\u3063\u3066\u3044\u308b\u3082\u306e\u3001\u3064\u307e\u308a\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u30eb\u30fc\u30d7\u3001\u305d\u3057\u3066\u3044\u304f\u3064\u304b\u306e\u95a2\u6570\u306e\u7d44\u307f\u5408\u308f\u305b\u3068\u3057\u3066\u898b\u3048\u3066\u304d\u307e\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u4e0b\u306e\u52d5\u753b\u3067\u306f Ollama \u304c\u63d0\u4f9b\u3059\u308b\u30ed\u30fc\u30ab\u30eb\u30e2\u30c7\u30eb\u3092\u4f7f\u3063\u3066\u3001\u5c0f\u3055\u306a MATLAB \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u52d5\u304b\u3057\u3066\u3044\u307e\u3059\u3002<\/span><span class=\"_richTextNode\">\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f <a href=\"https:\/\/github.com\/matlab\/matlab-ai-agent-sdk\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\">MATLAB AI Agent SDK<\/a> \u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u4ed5\u7d44\u307f\u306e\u5927\u90e8\u5206\u306f SDK \u304c\u80a9\u4ee3\u308f\u308a\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left;\"><iframe loading=\"lazy\" class=\"onlineVideoNode\" src=\"https:\/\/www.youtube.com\/embed\/pLqxHyDPlis\" width=\"560\" height=\"315\"><\/iframe><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/184105-minimal-matlab-agent\">File Exchange<\/a> \u3067\u3082\u516c\u958b\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u30eb\u30fc\u30d7<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u591a\u304f\u306e\u4eba\u306f\u3001\u8cea\u554f\u3092\u3059\u308b\u3068\u7b54\u3048\u304c\u8fd4\u3063\u3066\u304f\u308b\u30c1\u30e3\u30c3\u30c8\u578b AI \u306b\u306f\u306a\u3058\u307f\u304c\u3042\u308b\u3067\u3057\u3087\u3046\u3002\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f\u305d\u3053\u304b\u3089\u4e00\u6b69\u9032\u3093\u3067\u3001\u3042\u306a\u305f\u306e\u4ee3\u308f\u308a\u306b\u884c\u52d5\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u5927\u304d\u306a\u98db\u8e8d\u306b\u805e\u3053\u3048\u307e\u3059\u304c\u3001\u57fa\u672c\u7684\u306a\u69cb\u6210\u8981\u7d20\u306f\u9a5a\u304f\u307b\u3069\u666e\u901a\u3067\u3059\u3002<\/span><\/div>\n<ul style=\"margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px;\">\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-weight: bold;\">LLM<\/span><span class=\"_richTextNode\"> &#8211; \u6b21\u306b\u4f55\u3092\u3059\u308b\u304b\u3092\u6c7a\u3081\u308b\u30e2\u30c7\u30eb\u3067\u3001\u63a8\u8ad6\u80fd\u529b\u3068\u30c4\u30fc\u30eb\u547c\u3073\u51fa\u3057\u80fd\u529b\u3092\u6301\u3061\u307e\u3059\u3002<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-weight: bold;\">Loop<\/span><span class=\"_richTextNode\"> &#8211; \u30e2\u30c7\u30eb\u306b\u6b21\u306e\u4e00\u624b\u3092\u554f\u3044\u7d9a\u3051\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-weight: bold;\">Tools<\/span><span class=\"_richTextNode\"> &#8211; <span data-teams=\"true\">\u30e2\u30c7\u30eb\u304c\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u901a\u5e38\u306e\u95a2\u6570\u3067\u3059\u3002<\/span><\/span><\/li>\n<\/ul>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">MATLAB \u3067\u8a00\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u5f62\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">conversation = {}; <span style=\"color: #008013;\">% conversation history<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"><span style=\"color: #0e00ff;\">while <\/span>true <span style=\"color: #008013;\">% start agentic loop<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> response = LLMclient(conversation); <span style=\"color: #008013;\">% call the LLM<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> conversation{end+1} = response; <span style=\"color: #008013;\">% append response<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">if <\/span>has_tool_calls(response) <span style=\"color: #008013;\">% if it contains a tool call<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> results = run_tools(response); <span style=\"color: #008013;\">% execute requested tools<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> conversation{end+1} = results; <span style=\"color: #008013;\">% append tool results<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">else<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> disp(response.text); <span style=\"color: #008013;\">% no more tool calls<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">break<\/span> <span style=\"color: #008013;\">% done<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">end<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"><span style=\"color: #0e00ff;\">end<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u5b9f\u969b\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u306f\u3001\u3069\u306e\u30c4\u30fc\u30eb\u3092\u547c\u3079\u308b\u304b\u3001\u4f55\u30e9\u30a6\u30f3\u30c9\u307e\u3067\u8a31\u3059\u304b\u3001\u3069\u306e\u64cd\u4f5c\u306b\u627f\u8a8d\u304c\u5fc5\u8981\u304b\u3068\u3044\u3063\u305f\u5883\u754c\u6761\u4ef6\u3082\u5fc5\u8981\u3067\u3059\u3002\u305d\u308c\u3067\u3082\u4e2d\u6838\u306b\u3042\u308b\u306e\u306f\u30eb\u30fc\u30d7\u3067\u3059\u3002<\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u30c4\u30fc\u30eb<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u79c1\u304c\u3044\u3061\u3070\u3093\u6c17\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u306f\u3053\u306e\u90e8\u5206\u3067\u3059\u3002\u79c1\u306e\u6700\u5c0f\u69cb\u6210\u306e MATLAB \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3067\u306f\u3001\u30c4\u30fc\u30eb\u306f\u5358\u306a\u308b MATLAB \u95a2\u6570\u306b\u3059\u304e\u307e\u305b\u3093\u3002<\/span><span class=\"_richTextNode\">\u3053\u308c\u306f\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u8aad\u307f\u53d6\u308b\u30c4\u30fc\u30eb\u3001<\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">tool_read_file<\/span><span class=\"_richTextNode\"> \u3067\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"><span style=\"color: #0e00ff;\">function <\/span>result = tool_read_file(path)<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"><span style=\"color: #008013;\">%TOOL_READ_FILE Read text from a file.<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> path = resolve_path(path);<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">if <\/span>~isfile(path)<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> result = <span style=\"color: #a709f5;\">&#8220;Error: file not found: &#8221; <\/span>+ path;<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">return<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">end<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> result = join(readlines(path), newline);<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">if <\/span>strlength(result) == 0<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> result = <span style=\"color: #a709f5;\">&#8220;(empty file)&#8221;<\/span>;<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #0e00ff;\">end<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"><span style=\"color: #0e00ff;\">end<\/span><\/span><\/div>\n<\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">MATLAB AI Agent SDK<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3001\u7c21\u5358\u306b\u901a\u3057\u3066\u8aad\u3081\u308b\u304f\u3089\u3044\u5c0f\u3055\u304f\u3057\u3066\u304a\u304d\u305f\u304b\u3063\u305f\u306e\u3067\u3001\u81ea\u5206\u3067\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30eb\u30fc\u30d7\u3092\u66f8\u304f\u4ee3\u308f\u308a\u306b\u3001MATLAB AI Agent SDK \u3092\u4f7f\u3044\u307e\u3057\u305f\u3002\u3055\u3089\u306b API \u30ad\u30fc\u8a2d\u5b9a\u3092\u907f\u3051\u308b\u305f\u3081\u306b Ollama \u3092\u4f7f\u3063\u3066\u30ed\u30fc\u30ab\u30eb\u30e2\u30c7\u30eb\u3092\u52d5\u304b\u3057\u307e\u3057\u305f\u3002\u3053\u306e SDK \u306f OpenAI \u4e92\u63db API \u3092\u901a\u3058\u3066\u6700\u5148\u7aef\u30e2\u30c7\u30eb\u3082\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u91cd\u8981\u306a\u306e\u306f\u3001LLM \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u5c65\u6b74\u3001\u305d\u3057\u3066\u30e6\u30fc\u30b6\u30fc\u627f\u8a8d\u3092\u542b\u3080\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u578b\u30c4\u30fc\u30eb\u547c\u3073\u51fa\u3057\u30eb\u30fc\u30d7\u3092 SDK \u304c\u62c5\u3063\u3066\u304f\u308c\u308b\u3053\u3068\u3067\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">SDK \u3092\u4f7f\u3048\u3070\u3001\u30eb\u30fc\u30d7\u306f 1 \u884c\u306e\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">response = run(bot, prompt);<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u308c\u306f\u5b66\u7fd2\u7528\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u306f\u826f\u3044\u30c8\u30ec\u30fc\u30c9\u30aa\u30d5\u3067\u3059\u3002\u30eb\u30fc\u30d7\u306f SDK \u306b\u4efb\u305b\u3066\u3001\u79c1\u306f\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u5b9f\u969b\u306b\u4f55\u3092\u3067\u304d\u308b\u304b\u306b\u96c6\u4e2d\u3067\u304d\u307e\u3059\u3002<\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">Minimal MATLAB Agent \u306b\u3064\u3044\u3066<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u76ee\u7684\u306f\u3001Claude Code \u3084 Codex \u306e\u3088\u3046\u306a AI \u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u3069\u3046\u52d5\u304f\u306e\u304b\u3092\u3001\u306a\u3058\u307f\u306e\u3042\u308b MATLAB \u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066\u7406\u89e3\u3059\u308b\u3053\u3068\u3067\u3057\u305f\u3002\u81ea\u524d\u3067\u3059\u3079\u3066\u4f5c\u308b\u4ee3\u308f\u308a\u306b\u3001\u65e2\u5b58\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u308b\u3088\u3046 MATLAB MCP Server \u306e\u30b5\u30dd\u30fc\u30c8\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002MCP \u306f model context protocol \u306e\u7565\u3067\u3001LLM \u304c MATLAB \u306e\u3088\u3046\u306a\u5916\u90e8\u30c4\u30fc\u30eb\u3068\u3084\u308a\u53d6\u308a\u3059\u308b\u305f\u3081\u306e\u6a19\u6e96\u5316\u3055\u308c\u305f\u65b9\u6cd5\u3067\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u308c\u306f\u672c\u756a\u904b\u7528\u306e\u305f\u3081\u306e\u30ac\u30a4\u30c0\u30f3\u30b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002MATLAB \u3067\u306f\u4efb\u610f\u306e\u30b3\u30fc\u30c9\u3092\u76f4\u63a5\u5b9f\u884c\u3067\u304d\u308b\u306e\u3067\u3001MCP \u7d4c\u7531\u3067\u5225\u306e MATLAB \u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u547c\u3073\u51fa\u3057\u3066 MATLAB \u30b3\u30fc\u30c9\u3092\u751f\u6210\u3059\u308b MATLAB \u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u4f5c\u308b\u3053\u3068\u304c\u3001\u5b9f\u52d9\u4e0a\u3069\u308c\u307b\u3069\u610f\u5473\u304c\u3042\u308b\u304b\u306f\u660e\u78ba\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u308c\u3067\u3082\u3001\u69cb\u6210\u8981\u7d20\u304c\u3088\u304f\u898b\u3048\u308b\u306e\u3067\u3001<span data-teams=\"true\">\u500b\u4eba\u7684\u306a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u516c\u958b\u3057\u307e\u3057\u305f\u304c\u3001\u4eca\u5f8c\u3082\u3063\u3068\u826f\u3044\u30e6\u30fc\u30b9\u30b1\u30fc\u30b9\u304c\u304d\u3063\u3068\u898b\u3064\u304b\u308b\u306f\u305a\u3067\u3059\u3002<\/span><\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">README \u306b\u5f93\u3063\u3066\u3001\u5fc5\u8981\u306a\u4f9d\u5b58\u95a2\u4fc2\u3092\u3059\u3079\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/div>\n<ul style=\"margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px;\">\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/www.mathworks.com\/downloads\/matlab\"><span class=\"_richTextNode\">MATLAB<\/span><\/a><span class=\"_richTextNode\"> R2022b \u4ee5\u964d<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/github.com\/matlab\/matlab-ai-agent-sdk\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external\"><span class=\"_richTextNode\">MATLAB AI Agent SDK<\/span><\/a><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\"><span data-teams=\"true\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4e0a\u306e Ollama \u4e92\u63db\u30ea\u30e2\u30fc\u30c8\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u7d4c\u7531\u3067\u5229\u7528\u3067\u304d\u308b Ollama \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3001\u3082\u3057\u304f\u306f\u30ed\u30fc\u30ab\u30eb\u3067\u306e\u30a2\u30af\u30bb\u30b9<\/span><\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><a href=\"https:\/\/www.mathworks.com\/products\/matlab-agentic-toolkit.html\"><span class=\"_richTextNode\">MATLAB Agentic Toolkit<\/span><\/a><span class=\"_richTextNode\"> \u7d4c\u7531\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f <a href=\"https:\/\/www.mathworks.com\/products\/matlab-mcp-server.html\">MATLAB MCP Server<\/a><\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\">\u304a\u4f7f\u3044\u306e MATLAB \u30ea\u30ea\u30fc\u30b9\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u57fa\u672c\u7684\u306a Python\u3002\u8ffd\u52a0\u306e Python \u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u4e0d\u8981\u3067\u3059\u3002<\/span><\/li>\n<\/ul>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u6210<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">Minimal MATLAB Agent \u306e\u4e2d\u8eab\u3092\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">agent.m Main <span style=\"color: #a709f5;\">SDK\/Ollama REPL entry point<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">config.json Runtime <span style=\"color: #a709f5;\">configuration<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">get_tools.m SDK <span style=\"color: #a709f5;\">tool registration<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">load_config.m Config <span style=\"color: #a709f5;\">loader<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">get_system_prompt.m Agent <span style=\"color: #a709f5;\">instructions<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">tools\/ Local tools <span style=\"color: #a709f5;\">and MCP wrapper tools<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">mcp\/ Stdio MCP <span style=\"color: #a709f5;\">client and Python subprocess shim<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\" style=\"font-family: monospace;\">agent.m<\/span><span class=\"_richTextNode\"> \u304c\u30e1\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002\u8a2d\u5b9a\u3092\u8aad\u307f\u8fbc\u307f\u3001Ollama \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3001MATLAB MCP Server \u306b\u63a5\u7d9a\u3057\u3001\u30c4\u30fc\u30eb\u3092\u767b\u9332\u3057\u3001SDK \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u304b\u3089\u3001\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u8a2d\u5b9a<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u30c7\u30d5\u30a9\u30eb\u30c8\u30e2\u30c7\u30eb\u306f\u3001Ollama \u7d4c\u7531\u3067\u52d5\u304f <\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">qwen3:8b<\/span><span class=\"_richTextNode\"> \u3067\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">{<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #a709f5;\">&#8220;model&#8221;<\/span>: <span style=\"color: #a709f5;\">&#8220;qwen3:8b&#8221;<\/span>,<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #a709f5;\">&#8220;ollama_endpoint&#8221;<\/span>: <span style=\"color: #a709f5;\">&#8220;http:\/\/127.0.0.1:11434&#8221;<\/span>,<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #a709f5;\">&#8220;max_tokens&#8221;<\/span>: 8192,<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #a709f5;\">&#8220;timeout&#8221;<\/span>: 600,<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #a709f5;\">&#8220;max_iterations&#8221;<\/span>: 10,<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> <span style=\"color: #a709f5;\">&#8220;verbose&#8221;<\/span>: false<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">}<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u308c\u3067\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u5168\u4f53\u3092\u30ed\u30fc\u30ab\u30eb\u306b\u4fdd\u3066\u307e\u3059\u3002Ollama \u304c\u30e2\u30c7\u30eb\u3092\u63d0\u4f9b\u3057\u3001MATLAB \u306f OpenAI \u4e92\u63db\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u7d4c\u7531\u3067 Ollama \u3068\u3084\u308a\u53d6\u308a\u3057\u307e\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u30e2\u30c7\u30eb\u306f\u30bf\u30fc\u30df\u30ca\u30eb\u304b\u3089\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"><span style=\"color: #e11b14;\">&#8220;`<\/span>bash<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">ollama <span style=\"color: #a709f5;\">pull qwen3:8b<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">ollama <span style=\"color: #a709f5;\">serve<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"><span style=\"color: #e11b14;\">&#8220;`<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">Ollama \u304c\u3059\u3067\u306b\u30d0\u30c3\u30af\u30b0\u30e9\u30a6\u30f3\u30c9\u30b5\u30fc\u30d3\u30b9\u3068\u3057\u3066\u52d5\u3044\u3066\u3044\u308b\u5834\u5408\u3001<\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">ollama serve<\/span><span class=\"_richTextNode\"> <span data-teams=\"true\">\u306f\u30dd\u30fc\u30c8\u304c\u3059\u3067\u306b\u4f7f\u308f\u308c\u3066\u3044\u308b\u3068\u8868\u793a\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u5358\u306b\u30b5\u30fc\u30d0\u30fc\u304c\u3059\u3067\u306b\u5229\u7528\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u610f\u5473\u3057\u3066\u3044\u307e\u3059<\/span>\u3002<\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">LLM \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u4f5c\u6210<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\" style=\"font-family: monospace;\">agent.m<\/span><span class=\"_richTextNode\"> \u3067\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f SDK \u306e LLM \u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">client = aisdk.LLMClient(<span style=\"color: #a709f5;\">&#8220;ollama&#8221;<\/span>, model, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> MaxNumTokens=cfg.max_tokens, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> TimeOut=cfg.timeout, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> BaseURL=endpoint);<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u308c\u304c\u300cLLM + loop + tools\u300d\u306b\u304a\u3051\u308b LLM \u306e\u90e8\u5206\u3067\u3059\u3002<\/span><span class=\"_richTextNode\">\u30e2\u30c7\u30eb\u306f <\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">config.json<\/span><span class=\"_richTextNode\"> \u3067\u5909\u66f4\u3059\u308b\u3053\u3068\u3082\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u8d77\u52d5\u6642\u306b\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">agent(Model=<span style=\"color: #a709f5;\">&#8220;qwen3:8b&#8221;<\/span>, Endpoint=<span style=\"color: #a709f5;\">&#8220;http:\/\/127.0.0.1:11434&#8221;<\/span>)<\/span><\/div>\n<\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u30c4\u30fc\u30eb\u306e\u5b9a\u7fa9<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u5c11\u6570\u306e\u30ed\u30fc\u30ab\u30eb\u30c4\u30fc\u30eb\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/div>\n<ul style=\"margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px;\">\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">read_file<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">write_file<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">list_files<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">ask_user<\/span><\/li>\n<\/ul>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3055\u3089\u306b\u3001MATLAB MCP Server \u3092\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u6301\u3064 MATLAB \u30c4\u30fc\u30eb\u3082\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/div>\n<ul style=\"margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px;\">\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">evaluate_matlab_code<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">detect_matlab_toolboxes<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">check_matlab_code<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">run_matlab_file<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\" style=\"font-family: monospace;\">run_matlab_test_file<\/span><\/li>\n<\/ul>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u30c4\u30fc\u30eb\u5b9a\u7fa9\u306f\u901a\u5e38\u306e MATLAB \u30b3\u30fc\u30c9\u3067\u3059\u3002<\/span><span class=\"_richTextNode\">\u3053\u3053\u3067\u306f <\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">read_file<\/span><span class=\"_richTextNode\"> \u30c4\u30fc\u30eb\u306e\u767b\u9332\u3092\u793a\u3057\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">readFile = aisdk.LLMTool(@tool_read_file, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> Name=<span style=\"color: #a709f5;\">&#8220;read_file&#8221;<\/span>, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> Description=<span style=\"color: #a709f5;\">&#8220;Read the contents of a text file.&#8221;<\/span>, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> InputArguments=aisdk.LLMToolArgument(<span style=\"color: #a709f5;\">&#8220;path&#8221;<\/span>, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> DataType=<span style=\"color: #a709f5;\">&#8220;string&#8221;<\/span>, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> Description=<span style=\"color: #a709f5;\">&#8220;Absolute or relative path to the file.&#8221;<\/span>));<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u308c\u306b\u3088\u308a\u3001<\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">read_file<\/span><span class=\"_richTextNode\"> \u3068\u3044\u3046\u30c4\u30fc\u30eb\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u3001\u3044\u3064\u4f7f\u3046\u3079\u304d\u304b\u3001\u305d\u3057\u3066\u5165\u529b\u5f15\u6570\u304c\u4f55\u304b\u3092\u30e2\u30c7\u30eb\u306b\u4f1d\u3048\u3089\u308c\u307e\u3059\u3002<span data-teams=\"true\">\u95a2\u6570\u30cf\u30f3\u30c9\u30eb\u306b\u3088\u3063\u3066 MATLAB\u3067\u3053\u306e\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059<\/span><\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u30c4\u30fc\u30eb\u306b\u3088\u3063\u3066\u306f\u627f\u8a8d\u304c\u5fc5\u8981\u3067\u3059\u3002\u305f\u3068\u3048\u3070\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\u306f\u4fbf\u5229\u3067\u3059\u304c\u3001\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u5909\u66f4\u3057\u307e\u3059\u3002 The project marks <\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">write_file<\/span><span class=\"_richTextNode\"> with: \u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f <\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">write_file<\/span><span class=\"_richTextNode\"> \u306b\u6b21\u306e\u8a2d\u5b9a\u3092\u4ed8\u3051\u3066\u3044\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">RequiresApproval=<span style=\"color: #a709f5;\">&#8220;always&#8221;<\/span><\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u308c\u306f\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u8a2d\u8a08\u306e\u91cd\u8981\u306a\u8981\u7d20\u3067\u3059\u3002\u4eba\u9593\u306e\u30e6\u30fc\u30b6\u30fc\u3068\u30db\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306b\u4f55\u3092\u8a31\u53ef\u3059\u308b\u304b\u3092\u6c7a\u3081\u307e\u3059\u3002<\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u4f5c\u6210<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3068\u30c4\u30fc\u30eb\u304c\u305d\u308d\u3046\u3068\u3001<\/span><span class=\"_richTextNode\" style=\"font-family: monospace;\">agent.m<\/span><span class=\"_richTextNode\"> \u304c SDK \u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">workspace = struct(<span style=\"color: #a709f5;\">&#8220;mcpClient&#8221;<\/span>, mcpClient, <span style=\"color: #a709f5;\">&#8220;projectDir&#8221;<\/span>, projectDir);<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">tools = get_tools();<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">bot = aisdk.AIAgent(client, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> SystemPrompt=get_system_prompt(), <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> Tools=tools, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> Workspace=workspace, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> MaxIterations=cfg.max_iterations, <span style=\"color: #0e00ff;\">&#8230;<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\"> DisplayMode=<span style=\"color: #a709f5;\">&#8220;detailed&#8221;<\/span>);<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\" style=\"font-family: monospace;\">get_system_prompt<\/span><span class=\"_richTextNode\"> \u306f\u30e2\u30c7\u30eb\u306b\u52d5\u4f5c\u6307\u793a\u3092\u4e0e\u3048\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u30d7\u30ed\u30f3\u30d7\u30c8\u304c\u30e2\u30c7\u30eb\u306b\u5bfe\u3057\u3066\u3001\u81ea\u5206\u306f MATLAB \u5185\u3067\u52d5\u304f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30a2\u30b7\u30b9\u30bf\u30f3\u30c8\u3067\u3042\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u78ba\u8a8d\u3001\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\u3001\u78ba\u8a8d\u8cea\u554f\u3001\u305d\u3057\u3066 MATLAB MCP Server \u7d4c\u7531\u3067\u306e MATLAB \u5b9f\u884c\u306b\u30c4\u30fc\u30eb\u3092\u4f7f\u3046\u3079\u304d\u3060\u3068\u4f1d\u3048\u307e\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\" style=\"font-family: monospace;\">MaxIterations<\/span><span class=\"_richTextNode\"> \u306f\u30eb\u30fc\u30d7\u4e0a\u9650\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u304c\u5ef6\u3005\u3068\u30c4\u30fc\u30eb\u3092\u547c\u3073\u7d9a\u3051\u308b\u306e\u3092\u9632\u3052\u307e\u3059\u3002<\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306e\u5b9f\u884c<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u304b\u3089\u3001\u6b21\u306e\u3088\u3046\u306b\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">agent<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3042\u308b\u3044\u306f 1 \u56de\u3060\u3051\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3066\u3059\u3050\u623b\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">agent(Prompt=<span style=\"color: #a709f5;\">&#8220;List files in the current directory.&#8221;<\/span>)<\/span><\/div>\n<\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u306f\u3001\u30b3<span data-teams=\"true\">\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u610f\u56f3\u7684\u306b\u30b7\u30f3\u30d7\u30eb\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/span><\/div>\n<div class=\"preformatted-matlab\" 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: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">Minimal <span style=\"color: #a709f5;\">MATLAB Agent &#8211; Ollama (type &#8220;quit&#8221; to exit)<\/span><\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">====================================================<\/span><\/div>\n<div style=\"border-radius: 0px; padding: 0px; line-height: 15.6px; min-height: 16px; white-space: normal; color: #212121; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; font-size: 12px; border: 0px none #212121;\"><span style=\"white-space: normal;\">You&gt;&gt;<\/span><\/div>\n<\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u3053\u308c\u3067\u5341\u5206\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3089\u3057\u304f\u611f\u3058\u3089\u308c\u308b\u7406\u7531<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u79c1\u304c\u9a5a\u3044\u305f\u306e\u306f\u3001\u9762\u767d\u3044\u632f\u308b\u821e\u3044\u306f\u8907\u96d1\u306a\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304b\u3089\u751f\u307e\u308c\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u305d\u308c\u306f\u30eb\u30fc\u30d7\u3068\u30c4\u30fc\u30eb\u304b\u3089\u751f\u307e\u308c\u307e\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u30e2\u30c7\u30eb\u306f\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u8abf\u3079\u308b\u3088\u3046\u6c42\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<span data-teams=\"true\">\u30c4\u30fc\u30eb\u306e\u51fa\u529b\u7d50\u679c\u306b\u3088\u3063\u3066\u3001\u30e2\u30c7\u30eb\u304c\u77e5\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u5909\u66f4\u3055\u308c\u307e\u3059\u3002\u3059\u308b\u3068\u30e2\u30c7\u30eb\u306f\u6b21\u306e\u30c4\u30fc\u30eb\u547c\u3073\u51fa\u3057\u3092\u8981\u6c42\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/span>\u4f55\u56de\u304b\u3084\u308a\u53d6\u308a\u3092\u91cd\u306d\u308b\u3068\u3001\u6700\u7d42\u56de\u7b54\u306f\u30e2\u30c7\u30eb\u306e\u63a8\u6e2c\u3060\u3051\u3067\u306a\u304f\u3001\u5b9f\u969b\u306b\u8d77\u304d\u305f\u3053\u3068\u3092\u53cd\u6620\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u3053\u308c\u304c MATLAB \u30e6\u30fc\u30b6\u30fc\u306b\u610f\u5473\u3059\u308b\u3053\u3068<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">MATLAB \u30e6\u30fc\u30b6\u30fc\u306b\u3068\u3063\u3066\u91cd\u8981\u306a\u306e\u306f\u3001\u30c4\u30fc\u30eb\u304c\u5358\u306a\u308b\u95a2\u6570\u3060\u3068\u3044\u3046\u70b9\u3067\u3059\u3002\u30c4\u30fc\u30eb\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u4e00\u89a7\u53d6\u5f97\u3001\u8868\u306e\u8aad\u307f\u8fbc\u307f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u3001\u30b3\u30fc\u30c9\u691c\u67fb\u3001\u30c6\u30b9\u30c8\u5b9f\u884c\u3001\u3042\u308b\u3044\u306f\u30e6\u30fc\u30b6\u30fc\u3078\u306e\u8cea\u554f\u306a\u3069\u304c\u3067\u304d\u307e\u3059\u3002\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u7684\u306a\u90e8\u5206\u306f\u3001\u30e2\u30c7\u30eb\u304c\u305d\u308c\u3089\u306e\u30c4\u30fc\u30eb\u3092\u4e00\u6b69\u305a\u3064\u9078\u3093\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u30eb\u30fc\u30d7\u3067\u3059\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u3064\u307e\u308a\u3001\u4f7f\u3044\u6163\u308c\u305f MATLAB \u74b0\u5883\u3068\u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3092\u4f7f\u3063\u3066\u3001\u81ea\u5206\u306e\u9818\u57df\u77e5\u8b58\u3092\u6301\u3064\u72ec\u81ea\u306e\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u4f5c\u308c\u3001\u96e3\u3057\u3044\u90e8\u5206\u306f SDK \u304c\u5f15\u304d\u53d7\u3051\u3066\u304f\u308c\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/span><\/div>\n<ul style=\"margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px;\">\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\">\u81ea\u5206\u3067\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u4f5c\u308b\u306e\u3067\u3001\u4e2d\u3067\u4f55\u304c\u8d77\u304d\u3066\u3044\u308b\u304b\u3092\u628a\u63e1\u3067\u304d\u3001\u5fc5\u8981\u306a\u3060\u3051\u30ac\u30fc\u30c9\u30ec\u30fc\u30eb\u3092\u8ffd\u52a0\u3067\u304d\u307e\u3059\u3002<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\">\u4fe1\u983c\u3057\u3066\u3044\u308b\u65e2\u5b58\u306e MATLAB \u30b3\u30fc\u30c9\u8cc7\u7523\u3001\u305f\u3068\u3048\u3070\u95a2\u6570\u3001\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3001\u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3001\u30a2\u30d7\u30ea\u306a\u3069\u3092\u518d\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\">\u30ed\u30fc\u30ab\u30eb\u30e2\u30c7\u30eb\u3092\u4f7f\u3048\u3070\u3001\u30c7\u30fc\u30bf\u3092\u30aa\u30f3\u30d7\u30ec\u30df\u30b9\u306b\u4fdd\u3066\u307e\u3059\u3002<\/span><\/li>\n<li style=\"margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap;\"><span class=\"_richTextNode\">LLM \u81ea\u4f53\u306f\u6c7a\u5b9a\u8ad6\u7684\u3067\u306a\u304f\u3066\u3082\u3001\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u5185\u306e MATLAB \u90e8\u5206\u306f\u6c7a\u5b9a\u8ad6\u7684\u306b\u3067\u304d\u307e\u3059\u3002<\/span><\/li>\n<\/ul>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u305f\u3068\u3048\u3070\u3001MATLAB \u3067\u4f55\u5343\u4ef6\u3082\u306e\u30c6\u30b9\u30c8\u7d50\u679c\u306b\u5bfe\u3057\u3066\u81ea\u52d5\u51e6\u7406\u3092\u8d70\u3089\u305b\u3066\u3044\u308b\u4e00\u65b9\u3067\u3001\u591a\u304f\u306e\u30a8\u30c3\u30b8\u30b1\u30fc\u30b9\u3092\u78ba\u8a8d\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u72b6\u6cc1\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002 S<span data-teams=\"true\">DK\u3092\u4f7f\u3048\u3070\u3001LLM\u3092\u5206\u985e\u5668\u3068\u3057\u3066\u7d44\u307f\u8fbc\u307f\u3001\u305d\u308c\u3089\u306e\u30a8\u30c3\u30b8\u30b1\u30fc\u30b9\u306b\u512a\u5148\u9806\u4f4d\u3092\u4ed8\u3051\u3066\u4eba\u9593\u304c\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/span><\/span><\/div>\n<h2 style=\"margin: 3px 10px 5px 4px; padding: 0px; line-height: 25px; min-height: 0px; white-space: normal; color: #212121; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 20px; font-weight: bold; text-align: left;\"><span class=\"_richTextNode\">\u307e\u3068\u3081<\/span><\/h2>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\"><span data-teams=\"true\">\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092 LLM + loop + tools \u3068\u3057\u3066\u898b\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001\u81ea\u5206\u3067\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u30a4\u30e1\u30fc\u30b8\u3082\u6e67\u304d\u3084\u3059\u304f\u306a\u308b\u306f\u305a\u3067\u3059\u3002<\/span><\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u307e\u305a\u306f\u5c0f\u3055\u304f\u59cb\u3081\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u81ea\u5206\u306e MATLAB \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u304b\u3089\u5f79\u7acb\u3064\u30bf\u30b9\u30af\u3092 1 \u3064\u9078\u3073\u30011 \u3064\u304b 2 \u3064\u306e MATLAB \u95a2\u6570\u3092\u30c4\u30fc\u30eb\u3068\u3057\u3066\u516c\u958b\u3057\u3001\u30e2\u30c7\u30eb\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3001\u30e1\u30c3\u30bb\u30fc\u30b8\u5c65\u6b74\u3001\u30c4\u30fc\u30eb\u547c\u3073\u51fa\u3057\u3001\u627f\u8a8d\u3001<span data-teams=\"true\">\u30eb\u30fc\u30d7\u306f MATLAB AI Agent SDK \u306b\u4efb\u305b\u3066\u3057\u307e\u3044\u307e\u3057\u3087\u3046\u3002<\/span><\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">\u79c1\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306e\u51fa\u767a\u70b9\u3068\u3057\u3066\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u3061\u3087\u3063\u3068\u3057\u305f\u904a\u3073\u5fc3\u3067\u3001\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u304b\u3089 MATLAB \u306b\u97f3\u58f0\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u308c\u308b\u3088\u3046 Telegram \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3082\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002<\/span><\/div>\n<div style=\"margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: normal; 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 class=\"_richTextNode\">MATLAB AI Agent SDK \u3092\u59cb\u3081\u308b\u6e96\u5099\u306f\u3067\u304d\u307e\u3057\u305f\u304b\u3002<\/span><span class=\"_richTextNode\">\u8cea\u554f\u306f <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/discussions\/ai\"> MATLAB community<\/a> \u3067\u5171\u6709\u3057\u3001\u4f5c\u3063\u305f\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u306f <a href=\"https:\/\/www.mathworks.com\/matlabcentral\/fileexchange\/\">File Exchange<\/a> \u3067\u5171\u6709\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/div>\n<\/div>\n<p><script type=\"text\/javascript\">var css = '._richTextNode {white-space: break-spaces;}'; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2026\/10\/1787038790.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div>\n<p>\n\u203b\u3053\u306e\u6295\u7a3f\u306f 2026 \u5e74 9 \u6708 22 \u65e5\u306b  The MATLAB Blog \u3078 \u6295\u7a3f\u3055\u308c\u305f\u3082\u306e\u306e\u6284\u8a33\u3067\u3059\u3002<br \/>\n&#8212;<\/p>\n<p>\u7565\u6b74: \u3053\u308c\u306f\u30aa\u30f3\u30e9\u30a4\u30f3\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3067\u6d3b\u52d5\u3059\u308b Toshi Takeuchi \u306b\u3088\u308b\u30b2\u30b9\u30c8\u6295\u7a3f\u3067\u3059\u3002Toshi \u306f\u3053\u306e 20 \u5e74\u9593\u3001MathWorks \u3067\u6570\u591a\u304f\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u8077\u3092\u52d9\u3081\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n\u6700\u8fd1\u306f\u3069\u3053\u3067\u3082 AI&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2026\/10\/05\/ai-agent-demystified-building-a-minimalist-agent-in-matlab-jp\/\">read more >><\/a><\/p>\n","protected":false},"author":159,"featured_media":14821,"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\/14812"}],"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=14812"}],"version-history":[{"count":7,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/14812\/revisions"}],"predecessor-version":[{"id":14819,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/14812\/revisions\/14819"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media\/14821"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media?parent=14812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/categories?post=14812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/tags?post=14812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}