{"id":9842,"date":"2023-10-30T14:32:20","date_gmt":"2023-10-30T05:32:20","guid":{"rendered":"https:\/\/blogs.mathworks.com\/japan-community\/?p=9842"},"modified":"2024-11-22T10:46:34","modified_gmt":"2024-11-22T01:46:34","slug":"chat-with-chatgpt-on-matlab-by-using-matgpt","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/japan-community\/2023\/10\/30\/chat-with-chatgpt-on-matlab-by-using-matgpt\/","title":{"rendered":"&#8220;MatGPT&#8221; \u3092\u4f7f\u3063\u3066 MATLAB \u4e0a\u3067 ChatGPT \u3068\u4f1a\u8a71\u3059\u308b\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\uff01"},"content":{"rendered":"<p><span style=\"color: #ff0000\"><strong>\u203bMatGPT \u306e\u4ed5\u69d8\u5909\u66f4\u306b\u3088\u308a\u30012024\u5e741\u670823\u65e5\u306b\u8a18\u4e8b\u5185\u5bb9\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3057\u305f\u3002<\/strong><\/span><\/p>\n<p><span style=\"color: #ff0000\"><strong>\u203b\u672c\u8a18\u4e8b\u3067\u306f MatGPT version 2.0.0\uff082023\/12\/19 \u30ea\u30ea\u30fc\u30b9\uff09\u306e\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e MatGPT \u3068\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u66f8\u304d\u65b9\u304c\u5927\u5e45\u306b\u7570\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u4eca\u5f8c\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u3088\u308a\u4ed5\u69d8\u5909\u66f4\u304c\u884c\u308f\u308c\u305f\u5834\u5408\u3001\u8a18\u8f09\u3057\u305f\u30b3\u30fc\u30c9\u304c\u52d5\u304b\u306a\u304f\u306a\u308b\u53ef\u80fd\u6027\u3082\u3054\u3056\u3044\u307e\u3059\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/strong><\/span><\/p>\n<p><span style=\"color: #ff0000\"><strong>\u203b\u672c\u8a18\u4e8b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u306f\u3001Open AI \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u4f5c\u6210\u3068\u30af\u30ec\u30b8\u30c3\u30c8\u306e\u8cfc\u5165\u304c\u5fc5\u9808\u3068\u306a\u308a\u307e\u3059\u3002<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u7686\u3055\u3093\u3053\u3093\u306b\u3061\u306f\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30c1\u30fc\u30e0\u306e\u9060\u85e4\u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u6025\u6fc0\u306b\u6c17\u6e29\u304c\u4e0b\u304c\u3063\u3066\u304d\u3066\u3001\u671d\u30d9\u30c3\u30c9\u304b\u3089\u306a\u304b\u306a\u304b\u51fa\u3089\u308c\u306a\u3044\u65e5\u3005\u304c\u7d9a\u3044\u3066\u3044\u307e\u3059\u3002\u3053\u3046\u3082\u6c17\u6e29\u306e\u5909\u5316\u304c\u6fc0\u3057\u3044\u3068\u3001\u79c1\u306e\u4f53\u5185\u30bd\u30eb\u30d0\u30fc\u304c\u30bc\u30ed\u30af\u30ed\u30c3\u30b7\u30f3\u30b0\u3092\u691c\u51fa\u3057\u3066\u30b5\u30f3\u30d7\u30eb\u6642\u9593\u3092\u7d30\u304b\u304f\u523b\u3093\u3067\u3057\u307e\u3044\u56f0\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u306d\uff08\uff1f\uff09\u3002<\/p>\n<p>\u3068\u3001\u304f\u3060\u3089\u306a\u3044\u8a71\u306f\u3053\u308c\u304f\u3089\u3044\u306b\u3057\u3066\u3001\u672c\u984c\u306b\u5165\u308a\u307e\u3057\u3087\u3046\u3002\u4eca\u56de\u306f\u79c1\u3068\u3057\u3066\u306f\u4e45\u3005\u306e\u6280\u8853\u7cfb\u306e\u5185\u5bb9\u3068\u306a\u308a\u307e\u3059\u3002\u3044\u307e\u307e\u3067\u306f\u3001MATLAB \u3068 Simulink \u3092\u7e4b\u3050\u3001\u3068\u3044\u3046\u30c6\u30fc\u30de\u3067\u8272\u3005\u3068\u6280\u8853\u7684\u306a\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u5c11\u3057\u8da3\u5411\u3092\u5909\u3048\u3066\u3001MATLAB \u3068\u5225\u306e\u3082\u306e\u3092\u7e4b\u3052\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5225\u306e\u3082\u306e\u3068\u306f\u2026\u2026\u305a\u3070\u308a <strong><span style=\"color: #ff0000\"><span style=\"font-size: large\">ChatGPT<\/span><\/span><\/strong> \u3067\u3059\uff01<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"990\" height=\"571\" class=\"aligncenter size-full wp-image-10025\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/appSoln.png\" alt=\"\" \/><\/p>\n<p>\u2191\u306e\u3088\u3046\u306b\u3001<span style=\"color: #ff0000\"><strong>ChatGPT \u3068\u4f1a\u8a71\u3059\u308b\u30a2\u30d7\u30ea\u3092 MATLAB \u3067\u7c21\u5358\u306b\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/strong><\/span>\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>\u203b\u672c\u8a18\u4e8b\u3067\u306f\u3001OpenAI \u306e API \u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b OpenAI \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210\u3084 API \u30ad\u30fc\u306e\u767a\u884c\u3068\u3044\u3063\u305f\u4f5c\u696d\u3092\u884c\u3044\u307e\u3059\u306e\u3067\u3001\u3042\u3089\u304b\u3058\u3081\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u3001\u304a\u8a66\u3057\u3044\u305f\u3060\u304f\u5834\u5408\u306f <a href=\"https:\/\/openai.com\/policies\/terms-of-use\" class=\"external\" rel=\"nofollow\" target=\"_blank\">OpenAI \u30b5\u30fc\u30d3\u30b9\u306e\u5229\u7528\u898f\u7d04 <\/a>\u306b\u3082\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1><span style=\"color: #ff6600\">0. \u76ee\u6b21<\/span><\/h1>\n<ol>\n<li><a href=\"#sec1\">\u305d\u3082\u305d\u3082 MATLAB \u4e0a\u3067 ChatGPT \u3068\u4f1a\u8a71\u3059\u308b\u305f\u3081\u306b\u306f<\/a><\/li>\n<li><a href=\"#sec2\">MatGPT \u3068\u306f\uff01\uff1f<\/a><\/li>\n<li><a href=\"#sec3\">MatGPT \u306e\u4f7f\u3044\u65b9<\/a><\/li>\n<li><a href=\"#sec4\">MatGPT \u3067\u3088\u308a\u9ad8\u5ea6\u306a\u4f1a\u8a71\u3092\u884c\u3046<\/a><\/li>\n<li><a href=\"#sec5\">ChatGPT \u3068\u4f1a\u8a71\u3059\u308b\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\uff01<\/a><\/li>\n<li><a href=\"#sec6\">\u304a\u308f\u308a\u306b<\/a><\/li>\n<\/ol>\n<h1 id=\"sec1\"><span style=\"color: #ff6600\">1. \u305d\u3082\u305d\u3082 MATLAB \u4e0a\u3067 ChatGPT \u3068\u4f1a\u8a71\u3059\u308b\u305f\u3081\u306b\u306f<\/span><\/h1>\n<p>\u3054\u5b58\u3058\u306e\u65b9\u3082\u591a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u5ff5\u306e\u305f\u3081\u3001ChatGPT \u306f OpenAI \u304c2022\u5e7411\u670830\u65e5\u306b\u516c\u958b\u3057\u305f\u3001\u751f\u6210 AI \u30b5\u30fc\u30d3\u30b9\u3067\u3059\u3002\u307e\u308b\u3067\u4eba\u9593\u3068\u30c1\u30e3\u30c3\u30c8\u3057\u3066\u3044\u308b\u304b\u306e\u3088\u3046\u306b\u81ea\u7136\u306a\u56de\u7b54\u304c\u8fd4\u3063\u3066\u304f\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u4e00\u8e8d\u8a71\u984c\u306b\u306a\u308a\u3001\u73fe\u5728\u3067\u306f\u591a\u304f\u306e\u30e6\u30fc\u30b6\u30fc\u30fb\u4f01\u696d\u304c\u69d8\u3005\u306a\u7528\u9014\u3067\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1007\" height=\"1024\" class=\"aligncenter size-large wp-image-10013\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/ChatGPT-1007x1024.png\" alt=\"\" \/><\/p>\n<p>ChatGPT \u306f\u30b5\u30fc\u30d0\u30fc\u4e0a\u306b\u5b9f\u4f53\u304c\u3042\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u305d\u308c\u306b\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u5bfe\u8a71\u3092\u884c\u3044\u307e\u3059\uff08\u3044\u308f\u3086\u308b SaaS \u5f62\u5f0f\uff09\u3002\u901a\u5e38\u306f ChatGPT \u306e\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u4e0a\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3066\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u3068\u306f\u5225\u306b\u3001<strong>\u5c02\u7528\u306e API \u3092\u7528\u3044\u3066\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059<\/strong>\u3002<\/p>\n<p>&#8220;ChatGPT \u306e API&#8221; \u3068\u805e\u304f\u3068\u3001\u4f55\u304b\u96e3\u3057\u3044\u30b3\u30de\u30f3\u30c9\u304c\u3044\u3063\u3071\u3044\u3042\u308a\u305d\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5b9f\u306f\u4e2d\u8eab\u306f\u5358\u7d14\u306a\u30a6\u30a7\u30d6\u30ea\u30af\u30a8\u30b9\u30c8\u5f62\u5f0f\u306e API \u3067\u3059\u3002\u9001\u308b\u30c7\u30fc\u30bf\u3068\u9001\u308a\u5148\u306eURL\uff08\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\uff09\u3055\u3048\u6b63\u3057\u304f\u6307\u5b9a\u3067\u304d\u308c\u3070\u3001\u8ab0\u3067\u3082\u6bd4\u8f03\u7684\u7c21\u5358\u306b\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u5b9f\u306f MATLAB \u306b\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 <a href=\"https:\/\/jp.mathworks.com\/help\/matlab\/ref\/webread.html\">webread<\/a>\/<a href=\"https:\/\/jp.mathworks.com\/help\/matlab\/ref\/webwrite.html\">webwrite<\/a> \u306a\u3069\u306e\u30a6\u30a7\u30d6\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u884c\u3046\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u3053\u308c\u3092\u4f7f\u3048\u3070\u7406\u8ad6\u4e0a MATLAB \u4e0a\u3067 ChatGPT \u3068\u901a\u4fe1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u3061\u3083\u3044\u307e\u3059\uff01<\/p>\n<p>\u2026\u2026\u2026<\/p>\n<p>\u2026\u2026<\/p>\n<p>\u2026<\/p>\n<p>\u300c\u3044\u3084\u3044\u3084\u3001\u30a6\u30a7\u30d6\u30ea\u30af\u30a8\u30b9\u30c8\u306a\u3093\u304b\u3084\u3063\u305f\u3053\u3068\u306a\u3044\u304b\u3089\u308f\u304b\u3089\u306a\u3044\u3088\uff01\u300d\u3068\u601d\u3063\u305f\u65b9\u3001\u3054\u5b89\u5fc3\u304f\u3060\u3055\u3044\u3002<span style=\"color: #ff0000\"><strong>\u5b9f\u306f\u3053\u3053\u3089\u8fba\u306e\u7d30\u304b\u3044\u4ed5\u69d8\u3092\u7406\u89e3\u3057\u3066\u3044\u306a\u304f\u3066\u3082\u3001ChatGPT \u3068\u7c21\u5358\u306b\u901a\u4fe1\u3092\u884c\u3048\u3066\u3057\u307e\u3046\u3088\u3046\u306a\u30c4\u30fc\u30eb\u304c File Exchange \u3067\u516c\u958b\u3055\u308c\u3066\u3044\u307e\u3059<\/strong><\/span>\u3002<\/p>\n<p>\u305d\u306e\u540d\u3082\u3001 <strong><span style=\"color: #ff0000\"><span style=\"font-size: large\">MatGPT<\/span><\/span><\/strong> \u3067\u3059\uff01<\/p>\n<p>&nbsp;<\/p>\n<h1 id=\"sec2\"><span style=\"color: #ff6600\">2. MatGPT \u3068\u306f\uff01\uff1f<\/span><\/h1>\n<p><a href=\"https:\/\/jp.mathworks.com\/matlabcentral\/fileexchange\/126665-matgpt\">MatGPT<\/a> \u306f\u3001<span style=\"color: #ff0000\"><strong>MATLAB \u4e0a\u3067 ChatGPT \u3092\u4f7f\u7528\u3059\u308b<\/strong><\/span>\u305f\u3081\u306e\u4fbf\u5229\u306a\u30c4\u30fc\u30eb\u304c\u542b\u307e\u308c\u305f\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\u3002MatGPT \u306e\u4e2d\u306b\u306f\u300cChatGPT \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u30af\u30e9\u30b9\u300d\u3068\u300c\u305d\u306e\u30af\u30e9\u30b9\u3092\u4f7f\u3063\u305f\u5bfe\u8a71\u30a2\u30d7\u30ea\u300d\u306e 2 \u3064\u304c\u5165\u3063\u3066\u3044\u3066\u3001\u8907\u96d1\u306a\u64cd\u4f5c\u306a\u3057\u3067\u7c21\u5358\u306b MATLAB \u4e0a\u3067 ChatGPT \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u306e\u65b9\u306f\u3001\u666e\u901a\u306b\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067 ChatGPT \u3092\u4f7f\u3046\u304b\u306e\u3088\u3046\u306b\u3001MATLAB \u4e0a\u3067\u30a2\u30d7\u30ea\u3092\u958b\u3044\u3066\u5bfe\u8a71\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f1a\u8a71\u4ee5\u5916\u306b\u3082\u3001MATLAB \u306e\u30b3\u30fc\u30c9\u3092\u4f5c\u3063\u3066\u3082\u3089\u3063\u305f\u308a\u3001\u95a2\u6570\u306e\u4f7f\u3044\u65b9\u3092\u805e\u3044\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"630\" class=\"aligncenter size-large wp-image-9912\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/matgptAp-1024x630.png\" alt=\"\" \/><\/p>\n<p>\u2191\u30a2\u30d7\u30ea\u81ea\u4f53\u306f\u82f1\u8a9e\u3067\u3059\u304c\u3001\u65e5\u672c\u8a9e\u3067\u3082\u3061\u3083\u3093\u3068\u4f1a\u8a71\u3067\u304d\u307e\u3059\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3066\u3001\u30af\u30e9\u30b9\u306e\u65b9\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u4e0a\u3067 ChatGPT \u3068\u901a\u4fe1\u3092\u3059\u308b\u305f\u3081\u306e\u30af\u30e9\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u8907\u6570\u5b9f\u88c5\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30a6\u30a7\u30d6\u30ea\u30af\u30a8\u30b9\u30c8\u7cfb\u306e\u95a2\u6570\u3092\u624b\u52d5\u3067\u547c\u3073\u51fa\u3059\u3053\u3068\u306a\u304f\u7c21\u5358\u306b\u30b3\u30fc\u30c9\u30d9\u30fc\u30b9\u3067 ChatGPT \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"458\" class=\"aligncenter size-large wp-image-10502\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_testToUse2-1024x458.png\" alt=\"\" \/><\/p>\n<p>\u2191MatGPT \u3092\u4f7f\u3048\u3070\u305f\u3063\u305f\uff12\u884c\u3067 ChatGPT \u3068\u4f1a\u8a71\u3067\u304d\u308b\uff01<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000\">\u203b\u3069\u3061\u3089\u3082\u30ed\u30fc\u30eb\u7b49\u3092\u5909\u66f4\u3057\u3066\u4f1a\u8a71\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3001\u30a2\u30af\u30bb\u30b9\u5148\u306f\u901a\u5e38\u306e GPT \u30e2\u30c7\u30eb\u3067\u3059\u3002MATLAB \u306e\u30c7\u30fc\u30bf\u3092\u5b66\u7fd2\u3055\u305b\u305f\u7279\u5225\u306a\u30e2\u30c7\u30eb\u3092\u4f7f\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><span style=\"color: #ff0000\">\u203bMatGPT \u306f GPT-3.5 \u3068 GPT-4 \u306e\u4e21\u65b9\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\u304c\u3001GPT-4 \u306f\u904e\u53bb\u306b\u652f\u6255\u3044\u3092\u884c\u3063\u305f\u3053\u3068\u304c\u3042\u308b OpenAI \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u306e\u307f\u4f7f\u7528\u53ef\u80fd\u3067\u3059\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>\u4eca\u56de\u306f\u5f8c\u8005\u306e\u30af\u30e9\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u6d3b\u7528\u3059\u308b\u3053\u3068\u3067\u3001MATLAB \u4e0a\u3067 ChatGPT \u3068\u4f1a\u8a71\u3059\u308b\u3088\u3046\u306a\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1 id=\"sec3\"><span style=\"color: #ff6600\">3. MatGPT \u306e\u4f7f\u3044\u65b9<\/span><\/h1>\n<p>\u305d\u308c\u3067\u306f\u3001\u30a2\u30d7\u30ea\u3092\u4f5c\u308a\u59cb\u3081\u308b\u524d\u306b MatGPT \u306e\u4f7f\u3044\u65b9\u3092\u7c21\u5358\u306b\u78ba\u8a8d\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01\uff08<a href=\"https:\/\/jp.mathworks.com\/matlabcentral\/fileexchange\/126665-matgpt\">MatGPT \u306e\u30da\u30fc\u30b8<\/a>\u306e &#8220;Requirements&#8221; \u3068 &#8220;Instllation&#8221; \u306e\u90e8\u5206\u3082\u3054\u53c2\u8003\u304f\u3060\u3055\u3044\uff09<\/p>\n<h2><span style=\"color: #ff6600\">3-1. OpenAI \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3066 API \u30ad\u30fc\u3092\u53d6\u5f97\u3057\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u3092\u8cfc\u5165\u3059\u308b<\/span><\/h2>\n<p><span style=\"color: #000000\"><strong>MatGPT \u3092\u4f7f\u3046\u305f\u3081\u306b\u306f\u3001OpenAI \u306e API \u30ad\u30fc\u3068\u5229\u7528\u30af\u30ec\u30b8\u30c3\u30c8\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong>API \u30ad\u30fc\u3092\u6301\u3063\u3066\u3044\u306a\u3044\u65b9\u306f\u3001<\/span><a href=\"https:\/\/platform.openai.com\/docs\/quickstart\/account-setup\" class=\"external\" rel=\"nofollow\" target=\"_blank\">\u3053\u3061\u3089\u306e\u30da\u30fc\u30b8<\/a>\u306e\u30ea\u30f3\u30af\u304b\u3089 OpenAI \u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210\uff06API \u30ad\u30fc\u306e\u767a\u884c\u3092\u884c\u3044\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u3092\u8cfc\u5165\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\uff08\u3061\u3087\u3063\u3068\u8a66\u3059\u3060\u3051\u3067\u3057\u305f\u3089\u6700\u4f4e\u984d\u306e 5 $ \u3067\u5341\u5206\u3067\u3059\uff09\u3002<\/p>\n<p>\u203b<s>API \u30ad\u30fc\u306e\u767a\u884c\u81ea\u4f53\u306f\u7121\u6599\u3067\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002API \u30ad\u30fc\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u4f7f\u3046\u30e2\u30c7\u30eb\u3084\u901a\u4fe1\u3059\u308b\u6587\u5b57\u6570\u306b\u3088\u3063\u3066\u6599\u91d1\u304c\u304b\u304b\u308a\u307e\u3059\u304c\u3001API \u30ad\u30fc\u306e\u521d\u56de\u767a\u884c\u6642\u306b\u306f\u6700\u521d\u306e 3 \u30f6\u6708\u306e\u307f\u4f7f\u7528\u53ef\u80fd\u306a 5 \u30c9\u30eb\u5206\u306e\u7121\u6599\u30af\u30ec\u30b8\u30c3\u30c8\u304c\u4ed8\u4e0e\u3055\u308c\u308b\uff082023\/11\/6 \u6642\u70b9\uff09\u306e\u3067\u3001\u8a66\u3057\u306b\u4f7f\u3063\u3066\u307f\u305f\u3044\u5834\u5408\u306f\u3053\u308c\u3092\u4f7f\u3046\u306e\u304c\u3088\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/s>2024\u5e74\u521d\u65ec\u3088\u308a\u7121\u6599\u30af\u30ec\u30b8\u30c3\u30c8\u306e\u4ed8\u4e0e\u306f\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u306e\u3067\u3001API \u306e\u5229\u7528\u306b\u306f\u30af\u30ec\u30b8\u30c3\u30c8\u306e\u8cfc\u5165\u304c\u5fc5\u9808\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2><span style=\"color: #ff6600\">3-2. MatGPT \u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/span><\/h2>\n<p>API \u30ad\u30fc\u3092\u53d6\u5f97\u3067\u304d\u305f\u3089\u3001<a href=\"https:\/\/jp.mathworks.com\/matlabcentral\/fileexchange\/126665-matgpt\">MatGPT<\/a> \u306e\u30da\u30fc\u30b8\u306e\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u300d\u30dc\u30bf\u30f3\u304b\u3089\u30d7\u30ed\u30b0\u30e9\u30e0\u3092 zip \u30d5\u30a1\u30a4\u30eb\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u89e3\u51cd\u3057\u307e\u3059\u3002\u89e3\u51cd\u3057\u305f\u3089\u3001MATLAB \u3067\u305d\u306e\u30d5\u30a9\u30eb\u30c0\u307e\u3067\u79fb\u52d5\u3057\u307e\u3057\u3087\u3046\u3002\u89e3\u51cd\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u306f\u3044\u308d\u3044\u308d\u306a\u30d5\u30a1\u30a4\u30eb\u304c\u5165\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u4eca\u56de\u4f7f\u3046\u30af\u30e9\u30b9\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3059\u3079\u3066 &#8220;helpers&#8221; \u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u3067\u3001helpers \u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u307e\u3067\u79fb\u52d5\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"897\" height=\"562\" class=\"aligncenter size-full wp-image-10496\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_folderpng.png\" alt=\"\" \/><\/p>\n<h2><span style=\"color: #ff6600\">3-3. MATLAB \u4e0a\u3067 API \u30ad\u30fc\u3092\u8a2d\u5b9a\u3059\u308b<\/span><\/h2>\n<p>helpers \u30d5\u30a9\u30eb\u30c0\u307e\u3067\u79fb\u52d5\u3057\u305f\u3089\u3001\u5148\u307b\u3069\u53d6\u5f97\u3057\u305f API \u30ad\u30fc\u3092 MATLAB \u4e0a\u3067\u74b0\u5883\u5909\u6570\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002<span style=\"color: #000000\"><strong>MatGPT \u306f &#8220;OPENAI_API_KEY&#8221; \u3068\u3044\u3046\u540d\u524d\u306e\u74b0\u5883\u5909\u6570\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30ad\u30fc\u3092\u4f7f\u3063\u3066\u901a\u4fe1\u3092\u884c\u3044\u307e\u3059<\/strong><\/span>\u3002\u74b0\u5883\u5909\u6570\u3092\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5\u306f\u8272\u3005\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u76f4\u63a5\u8a2d\u5b9a\u3057\u3061\u3083\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><code>&gt;&gt; setenv(<span style=\"color: #ff00ff\">\"OPENAI_API_KEY\"<\/span>, <span style=\"color: #ff00ff\">\"\u767a\u884c\u3057\u305f API \u30ad\u30fc\"<\/span>)<\/code><\/p>\n<p>\u203bsetenv \u95a2\u6570\u3067\u8a2d\u5b9a\u3057\u305f\u74b0\u5883\u5909\u6570\u306f MATLAB \u3092\u9589\u3058\u308b\u3068\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u307e\u3059\u3002OS \u5074\u3067\u76f4\u63a5\u8a2d\u5b9a\u3057\u3066\u3082 OK \u3067\u3059\u304c\u3001\u305d\u306e\u969b\u306f\u30ad\u30fc\u306e\u6d41\u51fa\u306b\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2><span style=\"color: #ff6600\">3-3. \u8a66\u3057\u306b\u30b3\u30de\u30f3\u30c9\u30a6\u30a3\u30f3\u30c9\u30a6\u3067 MatGPT \u3092\u4f7f\u3063\u3066\u307f\u308b<\/span><\/h2>\n<p>\u3053\u308c\u3067 MatGPT \u3092\u4f7f\u3046\u305f\u3081\u306e\u4e0b\u6e96\u5099\u304c\u7d42\u308f\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u65e9\u901f\u4f7f\u3063\u3066\u307f\u307e\u3057\u3087\u3046\uff01\u307e\u305a\u306f openAIChat\u00a0\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066 ChatGPT \u3078\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><code>&gt;&gt; chat= openAIChat();<\/code><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"703\" height=\"300\" class=\"aligncenter size-full wp-image-10499\" style=\"color: #222222;font-family: monospace\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_workspace.png\" alt=\"\" \/><\/p>\n<p>\u5f8c\u306f\u3001\u3053\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e generate \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3048\u3070\u3001<\/p>\n<p><code>&gt;&gt; text = generate(chat,<span style=\"color: #ff00ff\">\"\u3053\u3093\u306b\u3061\u306f\uff01\"<\/span>)<\/code><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"458\" class=\"aligncenter size-large wp-image-10502\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_testToUse2-1024x458.png\" alt=\"\" \/><\/p>\n<p>ChatGPT \u304b\u3089\u8fd4\u4fe1\u304c\u6765\u307e\u3057\u305f\uff01<\/p>\n<p>\u3082\u3057\u3053\u306e\u6642\u70b9\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3057\u307e\u3046\u5834\u5408\u306f\u3001<\/p>\n<ul>\n<li>helpers \u30d5\u30a9\u30eb\u30c0\u306b\u5165\u3063\u3066\u3044\u306a\u3044<\/li>\n<li>API \u30ad\u30fc\u304c\u9593\u9055\u3063\u3066\u3044\u308b\u3001\u74b0\u5883\u5909\u6570\u540d\u304c\u9593\u9055\u3063\u3066\u3044\u308b<\/li>\n<li>\u30af\u30ec\u30b8\u30c3\u30c8\u304c\u8cfc\u5165\u3067\u304d\u3066\u3044\u306a\u3044\u3001\u307e\u305f\u306f\u8db3\u308a\u3066\u3044\u306a\u3044<\/li>\n<li>\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u63a5\u7d9a\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u7b49\u306e\u554f\u984c\u3067 ChatGPT \u3068\u306e\u63a5\u7d9a\u304c\u3046\u307e\u304f\u3044\u3063\u3066\u3044\u306a\u3044<\/li>\n<\/ul>\n<p>\u306a\u3069\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u306e\u3067\u78ba\u8a8d\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h1 id=\"sec4\"><span style=\"color: #ff6600\">4. MatGPT \u3067\u3088\u308a\u9ad8\u5ea6\u306a\u4f1a\u8a71\u3092\u884c\u3046<\/span><\/h1>\n<p>\u4e0a\u8ff0\u3057\u305f\uff12\u884c\u306e\u30b3\u30fc\u30c9\u3060\u3051\u3067\u3082 MATLAB \u4e0a\u3067 ChatGPT \u3068\u7c21\u5358\u306a\u4f1a\u8a71\u306f\u3067\u304d\u307e\u3059\u304c\u3001MatGPT \u306e\u6a5f\u80fd\u3092\u3064\u304b\u3046\u3053\u3068\u3067\u3088\u308a\u9ad8\u5ea6\u306a\u4f1a\u8a71\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4eca\u56de\u306f 2 \u3064\u306e\u6a5f\u80fd\u3092\u30d4\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2><span style=\"color: #ff6600\">4-1. \u521d\u671f\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8a2d\u5b9a\u3059\u308b<\/span><\/h2>\n<p>ChatGPT \u306f\u3001\u6700\u521d\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u3067\u4f1a\u8a71\u306e\u30eb\u30fc\u30eb\u3092\u7d30\u304b\u304f\u6307\u5b9a\u3057\u3066\u304a\u304f\u3068\u3001\u305d\u308c\u4ee5\u964d\u306f\u305d\u306e\u30eb\u30fc\u30eb\u306b\u5f93\u3063\u3066\u7b54\u3048\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002MatGPT \u3067\u306f\u3001openAIChat \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u969b\u306b\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u308c\u304c\u521d\u671f\u30d7\u30ed\u30f3\u30d7\u30c8\u3068\u3057\u3066\u63a1\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u53e3\u8abf\u6307\u5b9a\u3092\u3057\u3066\u3042\u3052\u308b\u3068\u2026\u2026<\/p>\n<pre>\u5f79\u5272\u6307\u5b9a\u306e\u4f8b<code>&gt;&gt; chat = openAIChat(<span style=\"color: #ff00ff\">\"\u30ae\u30e3\u30eb\u53e3\u8abf\u3067\u3057\u3083\u3079\u3063\u3066\u304f\u3060\u3055\u3044\u3002\"<\/span>);\r\n&gt;&gt; text = generate(chat,<span style=\"color: #ff00ff\">\"\u3053\u3093\u306b\u3061\u306f\uff01\"<\/span>)<\/code><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"406\" class=\"aligncenter size-large wp-image-10505\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_testRole-1024x406.png\" alt=\"\" \/><\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3001\u8fd4\u7b54\u306e\u53e3\u8abf\u304c\u6307\u5b9a\u3057\u305f\u901a\u308a\u306b\u5909\u308f\u308a\u307e\u3059\u3001\u697d\u3057\u3044\uff01<br \/>\n\uff08\u30e4\u30d0\u30a4\u30d2\u30e7\u30a6\u30bf\u30f3\u3063\u3066\u4f55\u2026\u2026\uff09<\/p>\n<h2><span style=\"color: #ff6600\">4-2. \u4f1a\u8a71\u306e\u5c65\u6b74\u3092\u6b8b\u3059<\/span><\/h2>\n<p>\u5b9f\u306f\u3001generate \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u4f1a\u8a71\u3059\u308b\u3060\u3051\u3067\u306f\u3001ChatGPT \u5074\u306b\u4f1a\u8a71\u306e\u5c65\u6b74\u304c\u6b8b\u308a\u307e\u305b\u3093\u3002\u306a\u306e\u3067\u3001\u4f8b\u3048\u3070\u4f55\u304b\u8cea\u554f\u3057\u3066\u304b\u3089\u305d\u308c\u3092\u82f1\u8a33\u3059\u308b\u3088\u3046\u306b\u983c\u3093\u3067\u3082\u2026\u2026<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"538\" class=\"aligncenter size-large wp-image-10508\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_noHistory-1024x538.png\" alt=\"\" \/><\/p>\n<p>\u5168\u304f\u95a2\u4fc2\u306a\u3044\u82f1\u8a33\u304c\u8fd4\u3063\u3066\u6765\u3066\u3057\u307e\u3044\u307e\u3059\uff08\u521d\u671f\u30d7\u30ed\u30f3\u30d7\u30c8\u306f\u751f\u304d\u3066\u3044\u308b\u306e\u3067\u3001\u30ae\u30e3\u30eb\u3063\u307d\u3044\u82f1\u8a9e\u306b\u306f\u306a\u3063\u3066\u307e\u3059\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u30c1\u30e3\u30c3\u30c8\u306e\u3084\u308a\u53d6\u308a\u3092\u5c65\u6b74\u3092\u6b8b\u3057\u306a\u304c\u3089\u4f1a\u8a71\u3092\u9032\u3081\u305f\u3044\u5834\u5408\u306f\u3001&#8221;openAIMessages&#8221; \u30af\u30e9\u30b9\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>openAIMessages \u306f\u3001\u4f1a\u8a71\u306e\u5c65\u6b74\u3092\u4fdd\u5b58\u3057\u3066\u304a\u304d\u3001\u305d\u308c\u3092\u4e38\u3054\u3068 ChatGPT \u306b\u9001\u308b\u305f\u3081\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002\u4f7f\u3044\u65b9\u306f\u5358\u7d14\u3067\u3001\u307e\u305aopenAIChat \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u3001openAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3082\u4e00\u7dd2\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"487\" class=\"aligncenter size-large wp-image-10514\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_openAIMessages-1024x487.png\" alt=\"\" \/><\/p>\n<p>\u203b\u3053\u306e\u6bb5\u968e\u3067\u306f\u307e\u3060\u4f55\u3082\u4f1a\u8a71\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u5f53\u7136\u4e2d\u306f\u7a7a\u3063\u307d\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u6b21\u306b\u3001ChatGPT \u306b\u9001\u308a\u305f\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u3001addUserMessage \u30e1\u30bd\u30c3\u30c9\u3067 openAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u8a18\u9332\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"515\" class=\"aligncenter size-large wp-image-10517\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_addUserMessage-1024x515.png\" alt=\"\" \/><\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u4e2d\u306b\u300c\u30e6\u30fc\u30b6\u30fc\u300d\u304c\u300cMATLAB\u3063\u3066\u4f55\u3067\u3059\u304b\uff1f\u300d\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u3063\u305f\u3053\u3068\u304c\u8a18\u9332\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u3053\u306e openAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092 generate \u30e1\u30bd\u30c3\u30c9\u306b\u6e21\u3057\u3001ChatGPT \u304b\u3089\u8fd4\u7b54\u3092\u3082\u3089\u3044\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u5148\u307b\u3069\u3068\u306f\u9055\u3044\u3001<strong>\u51fa\u529b\u5f15\u6570\u3092 2 \u3064\u8a2d\u5b9a\u3057\u307e\u3059<\/strong>\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"518\" class=\"aligncenter size-large wp-image-10520\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_generateWithHistory-1024x518.png\" alt=\"\" \/><\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u30011 \u3064\u76ee\u306e\u51fa\u529b\u306b\u306f\u8fd4\u4fe1\u5185\u5bb9\u306e\u30c6\u30ad\u30b9\u30c8\u306e\u307f\u304c\u30012 \u3064\u76ee\u306e\u51fa\u529b\u306b\u306f\u8fd4\u4fe1\u5185\u5bb9\u3060\u3051\u3067\u306a\u304f\u8ab0\u304c\u305d\u306e\u8fd4\u4fe1\u3092\u3057\u305f\u304b\u306e\u60c5\u5831\u3082\u683c\u7d0d\u3055\u308c\u305f\u69cb\u9020\u4f53\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u3053\u306e 2 \u3064\u76ee\u306e\u51fa\u529b\u3092\u3001\u4eca\u5ea6\u306f addResponseMessage \u30e1\u30bd\u30c3\u30c9\u3067 openAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u8a18\u9332\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"653\" class=\"aligncenter size-large wp-image-10523\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_addResponseMessage-1024x653.png\" alt=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u3042\u3068\u306f\u3001\u307e\u305f addUserMessage \u3067\u9001\u308a\u305f\u3044\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8a18\u9332\u3001generate \u3067\u9001\u4fe1\u3001\u8fd4\u4fe1\u5185\u5bb9\u3092 addResponseMessage \u3067\u8a18\u9332\u3001\u3092\u7e70\u308a\u8fd4\u3059\u3053\u3068\u3067\u3001\u5c65\u6b74\u3092\u6b8b\u3057\u305f\u72b6\u614b\u3067\u4f1a\u8a71\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"546\" class=\"aligncenter size-large wp-image-10526\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_withHistory-1024x546.png\" alt=\"\" \/><\/p>\n<p>\u2191\u5148\u307b\u3069\u3068\u306f\u9055\u3044\u3001\u904e\u53bb\u306e\u8fd4\u7b54\u5185\u5bb9\u3092\u82f1\u8a33\u3057\u3066\u304f\u308c\u307e\u3057\u305f\uff01<\/p>\n<p>\u305f\u3060\u3057\u3001\u4f1a\u8a71\u306e\u5c65\u6b74\u3092\u6b8b\u3059\u3068\u3044\u3046\u3053\u3068\u306f\u3001\u305d\u308c\u307e\u3067\u306e\u3084\u308a\u3068\u308a\u3092\u6bce\u56de ChatGPT \u306b\u9001\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u305d\u308c\u3060\u3051\u30c8\u30fc\u30af\u30f3\u3092\u6d88\u8cbb\u3057\u307e\u3059\u3002\u300c\u8abf\u5b50\u306b\u4e57\u3063\u3066\u4f1a\u8a71\u3092\u305a\u30fc\u3063\u3068\u7d9a\u3051\u3066\u3044\u305f\u3089\u7121\u6599\u914d\u5e03\u5206\u306e\u30c8\u30fc\u30af\u30f3\u6570\u304c\u7121\u304f\u306a\u3063\u3061\u3083\u3063\u305f\uff01\u300d\u307f\u305f\u3044\u306a\u3053\u3068\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u203b\u3053\u3053\u3067\u7d39\u4ecb\u3057\u305f\u6a5f\u80fd\u4ee5\u5916\u306b\u3082\u3001MatGPT \u306b\u306f Function calling \u3084 Embeddings \u306a\u3069\u306e\u9ad8\u5ea6\u306a\u6a5f\u80fd\u3082\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u3001\u4f8b\u984c\u30b3\u30fc\u30c9\u3092\u898b\u305f\u3044\u65b9\u306f\u3001\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/matlab-deep-learning\/llms-with-matlab\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" class=\"external\">Large Language Models (LLMs) with MATLAB<\/a><\/p>\n<p>&nbsp;<\/p>\n<h1 id=\"sec5\"><span style=\"color: #ff6600\">5. ChatGPT \u3068\u4f1a\u8a71\u3059\u308b\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\uff01<\/span><\/h1>\n<p>\u3053\u3053\u307e\u3067\u3067\u3068\u308a\u3042\u3048\u305a\u57fa\u672c\u7684\u306a MatGPT \u306e\u4f7f\u3044\u65b9\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u306e\u3067\u3001\u65e9\u901f\u3053\u308c\u3092\u4f7f\u3063\u3066\u4f1a\u8a71\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002 \u307e\u305a\u306f MATLAB \u306e\u30db\u30fc\u30e0\u753b\u9762\u304b\u3089\u300c\u65b0\u898f\u300d\u2192\u300c\u30a2\u30d7\u30ea\u300d\u3068\u9078\u3073\u3001 App Designer \u3092\u8d77\u52d5\u3057\u307e\u3059\uff08App Designer \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/jp.mathworks.com\/help\/matlab\/app-designer.html\">\u3053\u3061\u3089\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3082\u3054\u53c2\u8003\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"538\" class=\"aligncenter size-large wp-image-9863\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/appDesigner-1024x538.png\" alt=\"\" \/><\/p>\n<p>\u3053\u3053\u306b\u5fc5\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u914d\u7f6e\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u4eca\u56de\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u306b<\/p>\n<ul>\n<li>\u30c6\u30ad\u30b9\u30c8\u30e9\u30d9\u30eb x 3\uff08\u30bf\u30a4\u30c8\u30eb\u3001ChatGPT \u304b\u3089\u306e\u8fd4\u7b54\u306e\u8868\u793a\u306a\u3069\uff09<\/li>\n<li>\u30a8\u30c7\u30a3\u30c3\u30c8\u30dc\u30c3\u30af\u30b9\uff08ChatGPT \u3078\u9001\u4fe1\u3059\u308b\u6587\u7ae0\u306e\u4f5c\u6210\uff09<\/li>\n<li>\u30dc\u30bf\u30f3\uff08\u9001\u4fe1\u7528\uff09<\/li>\n<\/ul>\n<p>\u306e 3 \u3064\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"519\" class=\"aligncenter size-large wp-image-9866\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/components-1024x519.png\" alt=\"\" \/><\/p>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3059\u304b\u306d\u3002\u5f8c\u3005\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u3084\u3059\u3044\u3088\u3046\u306b\u3001\u5404\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u306f &#8220;ReplyText&#8221; \u3084 &#8220;SendButton&#8221; \u306a\u3069\u3001\u308f\u304b\u308a\u3084\u3059\u3044\u540d\u524d\u3092\u4ed8\u3051\u3066\u304a\u304d\u307e\u3057\u3087\u3046\uff08\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\u306f\u53f3\u4e0a\u306e\u30c4\u30ea\u30fc\u304b\u3089\u7de8\u96c6\u3067\u304d\u307e\u3059\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u305d\u308c\u3067\u306f\u6b21\u306b\u3001ChatGPT \u3068\u306e\u4f1a\u8a71\u306b\u5fc5\u8981\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u30a2\u30d7\u30ea\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u3067\u4f5c\u6210\u3055\u308c\u308b\u3088\u3046\u306b\u3001StartupFcn \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"519\" class=\"aligncenter size-large wp-image-9869\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/startFcn-1024x519.png\" alt=\"\" \/><\/p>\n<p>\u4e0a\u56f3\u306e\u901a\u308a\u3001\u53f3\u4e0a\u306e\u30c4\u30ea\u30fc\u304b\u3089\u30a2\u30d7\u30ea\u540d\uff08\u4eca\u56de\u306f app1\uff09\u3092\u9078\u3073\u3001\u300c\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u300d\u30bf\u30d6\u3067 &lt;StartupFcn \u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u8ffd\u52a0&gt; \u3092\u9078\u3076\u3068\u2026\u2026<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"519\" class=\"aligncenter size-large wp-image-9872\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/startFcn2-1024x519.png\" alt=\"\" \/><\/p>\n<p>\u65b0\u305f\u306b startupFcn \u304c\u4f5c\u6210\u3055\u308c\u307e\u3057\u305f\u3002\u3064\u3044\u3067\u306b\u3001 \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306b\u3001 &#8220;chat&#8221;, &#8220;history&#8221; \u3068\u3044\u3046 2 \u3064\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3082\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"505\" class=\"aligncenter size-large wp-image-10541\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/new_properties-1024x505.png\" alt=\"\" \/><\/p>\n<p>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f5c\u6210\u3057\u305f\u3089\u3001\u5148\u307b\u3069\u4f5c\u3063\u305f startupFcn \u306e\u4e2d\u3067 openAIChat, openAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u3001\u305d\u308c\u305e\u308c chat, history \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<pre>\u30a2\u30d7\u30ea\u8d77\u52d5\u6642\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\r\n<code><span style=\"color: #0000ff\">function<\/span> startupFcn(app)\r\n    app.chat = openAIChat();\r\n    app.history = openAIMessages();\r\n<span style=\"color: #0000ff\">end<\/span><\/code><\/pre>\n<p>\u3053\u308c\u3067\u3001\u30a2\u30d7\u30ea\u8d77\u52d5\u6642\u306b\u81ea\u52d5\u3067 openAIChat, oepnAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u304c\u4f5c\u6210\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>\u6700\u5f8c\u306b\u3001\u30dc\u30bf\u30f3\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\u30dc\u30bf\u30f3\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3067\u306f\u3001\u5148\u307b\u3069 startupFcn \u3067\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4fdd\u5b58\u3057\u305f chat \u30d7\u30ed\u30d1\u30c6\u30a3\u3068 history \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066 ChatGPT \u3068\u901a\u4fe1\u3057\u3001\u8fd4\u3063\u3066\u304d\u305f\u6587\u7ae0\u3092\u30e9\u30d9\u30eb\u306b\u8868\u793a\u3057\u307e\u3059\u3002\u30b3\u30fc\u30c9\u306f\u3053\u3093\u306a\u611f\u3058\u3002<\/p>\n<pre>\u30dc\u30bf\u30f3\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\r\n<code><span style=\"color: #0000ff\">function<\/span> SendButtonPushed(app, event)\r\n    prompt = app.<em>PromptText<\/em>.Value;   <span style=\"color: #008000\">% \u30a8\u30c7\u30a3\u30c3\u30c8\u30dc\u30c3\u30af\u30b9\u5185\u306e\u6587\u7ae0\u3092\u53d6\u5f97<\/span>\r\n    app.history = addUserMessage(app.history,prompt); <span style=\"color: #008000\">% \u53d6\u5f97\u3057\u305f\u6587\u7ae0\u3092 openAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u8a18\u9332<\/span>\r\n    [text, response] = generate(app.chat,app.history); <span style=\"color: #008000\">% ChatGPT \u304b\u3089\u306e\u8fd4\u7b54\u3092\u53d6\u5f97<\/span>\r\n    app.history = addResponseMessage(app.history,response); <span style=\"color: #008000\">% \u8fd4\u7b54\u3092 openAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u8a18\u9332<\/span>\r\n    app.<em>ReplyText<\/em>.Text = text;     <span style=\"color: #008000\">% \u8fd4\u7b54\u3092\u30e9\u30d9\u30eb\u306b\u8868\u793a<\/span>\r\n<span style=\"color: #0000ff\">end<\/span><\/code><\/pre>\n<p>\u203b&#8221;PromptText&#8221; \u3084 &#8220;ReplyText&#8221; \u3068\u3044\u3063\u305f\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540d\uff08\u30b3\u30fc\u30c9\u4e2d\u306e\u659c\u4f53\u306e\u90e8\u5206\uff09\u306f\u3001\u9069\u5b9c\u4fee\u6b63\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u308c\u3067\u4f1a\u8a71\u30a2\u30d7\u30ea\u306e\u5b8c\u6210\u3067\u3059\u3002\u65e9\u901f\u52d5\u304b\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u6587\u5b57\u3092\u5165\u529b\u3057\u3066\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u2026\u2026<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"990\" height=\"571\" class=\"aligncenter size-full wp-image-10025\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/appSoln.png\" alt=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>ChatGPT \u304b\u3089\u8fd4\u4fe1\u304c\u304d\u307e\u3057\u305f\uff01<\/p>\n<p>&nbsp;<\/p>\n<p>\u4eca\u56de\u306f\u5fc5\u8981\u6700\u4f4e\u9650\u306e\u6a5f\u80fd\u306e\u307f\u3092\u5b9f\u88c5\u3057\u305f\u30a2\u30d7\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u304c\u3001<\/p>\n<ul>\n<li>\u30c6\u30ad\u30b9\u30c8\u30e9\u30d9\u30eb\u3067\u306f\u306a\u304f\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2\u3092\u4f7f\u3044\u3001\u904e\u53bb\u306e\u4f1a\u8a71\u306e\u5c65\u6b74\u3082\u8868\u793a\u3059\u308b<\/li>\n<li>openAIMessages \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308a\u76f4\u3059\u51e6\u7406\u3092\u884c\u3046\u3088\u3046\u306a\u30ea\u30bb\u30c3\u30c8\u30dc\u30bf\u30f3\u3092\u8ffd\u52a0\u3057\u3001\u4f1a\u8a71\u3092\u30ea\u30bb\u30c3\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<li>\u30a8\u30c7\u30a3\u30c3\u30c8\u30dc\u30c3\u30af\u30b9\u3084\u30c6\u30ad\u30b9\u30c8\u30a8\u30ea\u30a2\u3067\u521d\u671f\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/li>\n<\/ul>\n<p>\u306a\u3069\u306a\u3069\u3001\u3082\u3063\u3068\u8272\u3005\u306a\u6a5f\u80fd\u3092\u8ffd\u52a0\u3067\u304d\u305d\u3046\u3067\u3059\u306d\uff01<\/p>\n<p>&nbsp;<\/p>\n<h1 id=\"sec6\"><span style=\"color: #ff6600\">6. \u304a\u308f\u308a\u306b<\/span><\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f MATLAB \u4e0a\u3067 ChatGPT \u3092\u4f7f\u3046\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306e\u7d39\u4ecb\u3068\u306a\u308a\u307e\u3057\u305f\u3002\u30c1\u30e3\u30c3\u30c8\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u5834\u5408\u4ee5\u5916\u306b\u3082\u3001\u65e2\u306b\u958b\u767a\u3057\u3066\u3042\u308b\u30a2\u30d7\u30ea\u306e\u4e2d\u306b ChatGPT \u306b\u76f8\u8ac7\u3059\u308b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3059\u308b\u3068\u304d\u306a\u3069\u306b\u3082\u3054\u53c2\u8003\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001Open AI \u306e API \u3092\u4f7f\u3046\u3068 Whisper \u306a\u3069\u306eChatGPT \u4ee5\u5916\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u3082\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3082\u3061\u308d\u3093 MatGPT \u3092\u305d\u306e\u307e\u307e\u4f7f\u3046\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u306e\u3067\u6539\u9020\u306f\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u3084\u30c7\u30fc\u30bf\u306a\u3069\u3092\u6b63\u3057\u304f\u6307\u5b9a\u3059\u308c\u3070\u4ed6\u306e\u30b5\u30fc\u30d3\u30b9\u306b\u3082\u5fdc\u7528\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u8208\u5473\u304c\u3042\u308b\u65b9\u306f\u3001 <a href=\"https:\/\/platform.openai.com\/docs\/api-reference\" class=\"external\" rel=\"nofollow\" target=\"_blank\">OpenAI \u306e API \u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30da\u30fc\u30b8<\/a>\u306a\u3069\u3082\u3054\u78ba\u8a8d\u3057\u306a\u304c\u3089\u305c\u3072\u6311\u6226\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2023\/10\/appSoln.png\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>\u203bMatGPT \u306e\u4ed5\u69d8\u5909\u66f4\u306b\u3088\u308a\u30012024\u5e741\u670823\u65e5\u306b\u8a18\u4e8b\u5185\u5bb9\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3057\u305f\u3002<br \/>\n\u203b\u672c\u8a18\u4e8b\u3067\u306f MatGPT version 2.0.0\uff082023\/12\/19 \u30ea\u30ea\u30fc\u30b9\uff09\u306e\u4f7f\u7528\u4f8b\u3092\u7d39\u4ecb\u3057\u3066\u304a\u308a\u3001\u305d\u308c\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306e MatGPT&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2023\/10\/30\/chat-with-chatgpt-on-matlab-by-using-matgpt\/\">read more >><\/a><\/p>\n","protected":false},"author":169,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[55,141,37,61],"tags":[137,140,67],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/9842"}],"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\/169"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/comments?post=9842"}],"version-history":[{"count":80,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/9842\/revisions"}],"predecessor-version":[{"id":12702,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/9842\/revisions\/12702"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media?parent=9842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/categories?post=9842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/tags?post=9842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}