{"id":11366,"date":"2024-04-10T17:59:21","date_gmt":"2024-04-10T08:59:21","guid":{"rendered":"https:\/\/blogs.mathworks.com\/japan-community\/?p=11366"},"modified":"2024-04-11T18:29:32","modified_gmt":"2024-04-11T09:29:32","slug":"simulation-object","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/japan-community\/2024\/04\/10\/simulation-object\/","title":{"rendered":"\u3010R2024a\u65b0\u6a5f\u80fd\u7d39\u4ecb\u3011&#8221;simulation&#8221; \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067 MATLAB \u304b\u3089\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3082\u601d\u3044\u306e\u307e\u307e\uff01"},"content":{"rendered":"<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\u666e\u6bb5\u306f\u300cMATLAB \u3068 Simulink \u3092\u7e4b\u3050\u300d\u3092\u30c6\u30fc\u30de\u306b\u6280\u8853\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3055\u3066\u3001\u5148\u65e5 MATLAB \u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308b R2024a \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u306d\uff01\u9762\u767d\u3044\u65b0\u6a5f\u80fd\u306f\u3064\u3044\u3064\u3044\u6642\u9593\u3082\u5fd8\u308c\u3066\u5f04\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3053\u306e\u6642\u671f\u306f\u6642\u9593\u7ba1\u7406\u304c\u5927\u5909\u3067\u3059\u2026\u2026\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u4eca\u56de\u306e R2024a \u3067\u306f\u3001\u79c1\u304c\u3053\u306e\u30d6\u30ed\u30b0\u3067\u30c6\u30fc\u30de\u3068\u3057\u3066\u3044\u308b\u300cMATLAB \u3068 Simulink \u3092\u7e4b\u3050\u300d\u306b\u95a2\u9023\u3059\u308b\u65b0\u3057\u3044\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002\u305d\u306e\u540d\u3082\u300csimulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u300d\u3067\u3059\uff01<\/p>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001\u3053\u306e simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1><span style=\"color: #ff6600\">1 simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u306f\uff1f<\/span><\/h1>\n<p>simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001MATLAB \u304b\u3089 Simulink \u306e\u30e2\u30c7\u30eb\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u305f\u3081\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u3002R2023b \u4ee5\u524d\u3067\u306f\u3001MATLAB \u304b\u3089\u30e2\u30c7\u30eb\u3092\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u65b9\u6cd5\u3068\u3057\u3066<\/p>\n<ul>\n<li><a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/sim.html\">sim<\/a> \u95a2\u6570\u3092\u4f7f\u3046<\/li>\n<li><a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/set_param.html\">set_param<\/a> \u95a2\u6570\u3067 SimulationCommand \u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a2d\u5b9a\u3059\u308b<\/li>\n<\/ul>\n<p>\u306e 2 \u3064\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001R2024a \u3067\u306f\u65b0\u305f\u306b simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3046\u3053\u3068\u3067\u3082\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"181\" class=\"size-large wp-image-11393 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/simulationMethods-1024x181.png\" alt=\"\" \/><\/p>\n<p>\uff08<a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/ug\/using-the-sim-command.html?lang=en\">Run Simulations Programmatically<\/a>\u00a0\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304b\u3089\u629c\u7c8b\uff09<\/p>\n<p>simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u57fa\u672c\u7684\u306a\u4f7f\u3044\u65b9\u306f\u3068\u3063\u3066\u3082\u7c21\u5358\u3002\u307e\u305a\u306f simulation \u95a2\u6570\u306b\u30e2\u30c7\u30eb\u540d\u3092\u6e21\u3057\u3001simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<pre>&gt;&gt; sm = simulation(<span style=\"color: #cc99ff\">\"myModel\"<\/span>);<\/pre>\n<p>\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u3063\u305f\u3089\u3001\u3042\u3068\u306f start \u95a2\u6570\u3092\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u30e2\u30c7\u30eb\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u884c\u308f\u308c\u307e\u3059\u3002<\/p>\n<pre>&gt;&gt; start(sm);<\/pre>\n<p>\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c\u304c\u7d42\u308f\u308b\u3068\u3001simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e &#8220;SimulationOutput&#8221; \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4e2d\u306b\u30e2\u30c7\u30eb\u306e\u51fa\u529b\u304c\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-11381 size-medium\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/SimulationOutput-300x128.png\" alt=\"\" width=\"300\" height=\"128\" \/><\/p>\n<p>\u7279\u306b\u30af\u30bb\u3082\u306a\u304f\u30b7\u30f3\u30d7\u30eb\u306a\u4ed5\u69d8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u306d\u3002<\/p>\n<h1><span style=\"color: #ff6600\">2 simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3053\u3053\u304c\u30b9\u30b4\u30a4\uff01<\/span><\/h1>\n<p>\u305d\u308c\u3067\u306f\u3001\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304b\u3089\u5b58\u5728\u3057\u3066\u3044\u305f 2 \u3064\u306e\u65b9\u6cd5\u3068\u3001\u4eca\u56de\u8ffd\u52a0\u3055\u308c\u305f simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u4f55\u304c\u9055\u3046\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u7d50\u8ad6\u304b\u3089\u8a00\u3046\u3068\u3001simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u300c\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5236\u5fa1\u300d\u3084\u300c\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e2d\u306e\u30e2\u30c7\u30eb\u306b\u5bfe\u3059\u308b\u64cd\u4f5c\u300d\u304c\u5fc5\u8981\u3068\u306a\u308b\u5834\u5408\u306b\u4fbf\u5229\u306a\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u65b9\u6cd5\u3068\u306a\u308a\u307e\u3059\u3002\u3044\u304f\u3064\u304b\u95a2\u9023\u3059\u308b\u6a5f\u80fd\u3092\u30d4\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3066\u307f\u307e\u3057\u305f\u306e\u3067\u3001\u65e9\u901f\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2><span style=\"color: #ff6600\">2.1 \u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c\u306e\u5236\u5fa1<\/span><\/h2>\n<p>simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u306f\u3001\u524d\u8ff0\u3057\u305f start \u95a2\u6570\u306a\u3069\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c\u3092\u5236\u5fa1\u3059\u308b\u95a2\u6570\u304c\u3044\u304f\u3064\u304b\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u4e2d\u3067\u3082\u7279\u306b\u76ee\u3092\u5f15\u304f\u306e\u304c\u3001\u7279\u5b9a\u306e\u6642\u9593\u307e\u3067\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u9032\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b step \u95a2\u6570\u3067\u3059\u3002<\/p>\n<pre>&gt;&gt; step(sm, <span style=\"color: #cc99ff\">\"PauseTime\"<\/span>, 4);<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"wp-image-11435 size-large alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/step-1-1024x826.png\" alt=\"\" width=\"1024\" height=\"826\" \/><\/p>\n<p>\u3082\u3046\u4e00\u5ea6\u6642\u9593\u3092\u6307\u5b9a\u3059\u308c\u3070\u3001\u3055\u3089\u306b\u305d\u306e\u6642\u9593\u307e\u3067\u9032\u3093\u3067\u304f\u308c\u307e\u3059\u3002<\/p>\n<pre>&gt;&gt; step(sm, <span style=\"color: #cc99ff\">\"PauseTime\"<\/span>, 8);<\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"826\" class=\"size-large wp-image-11438 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/step2-1-1024x826.png\" alt=\"\" \/><\/p>\n<p>sim \u95a2\u6570\u306f\u4e00\u5ea6\u5b9f\u884c\u3057\u305f\u3089\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u5b8c\u4e86\u3059\u308b\u307e\u3067\u4f55\u3082\u3067\u304d\u305a\u3001set_param \u95a2\u6570\u306e\u5834\u5408\u3082 Start, Pause, Continue \u7a0b\u5ea6\u3057\u304b\u5236\u5fa1\u3067\u304d\u306a\u3044\u305f\u3081\u3001\u3053\u3046\u3044\u3063\u305f\u7d30\u304b\u306a\u5236\u5fa1\u304c\u3067\u304d\u308b\u306e\u306f simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5229\u70b9\u306e\u4e00\u3064\u3068\u8a00\u3048\u307e\u3059\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #ff6600\">2.2 \u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5909\u66f4<\/span><\/h2>\n<p>simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e set*** \u95a2\u6570\u3092\u4f7f\u3046\u3068\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3055\u308c\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u3092\u7c21\u5358\u306b\u5909\u66f4\u3067\u304d\u307e\u3059\u3002\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u95a2\u6570\u306f\u4ee5\u4e0b\u306e 3 \u3064\u3067\u3059\u3002<\/p>\n<ol>\n<li>setVariable\uff1a\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u306b\u5909\u6570\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4<\/li>\n<li>setBlockParameter\uff1a\u30d6\u30ed\u30c3\u30af\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u30c0\u30a4\u30a2\u30ed\u30b0\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4<\/li>\n<li>setModelParameter\uff1a\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u6642\u9593\u3084\u30bd\u30eb\u30d0\u30fc\u306a\u3069\u3001\u30e2\u30c7\u30eb\u5074\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4<\/li>\n<\/ol>\n<p>\u30e2\u30c7\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5909\u66f4\u3068\u3044\u3046\u3068\u3001\u4ee5\u524d\u306e\u8a18\u4e8b\u3067\u3082\u7d39\u4ecb\u3057\u305f set_param \u95a2\u6570\u304c\u6709\u540d\u304b\u3068\u601d\u3044\u307e\u3059\u304c\u3001set_param \u95a2\u6570\u3068\u4e0a\u8ff0\u3057\u305f\u95a2\u6570\u306f\u52d5\u4f5c\u304c\u5927\u304d\u304f\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001set_param \u95a2\u6570\u306f\u3001\u30d6\u30ed\u30c3\u30af\u3084\u30e2\u30c7\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30e2\u30c7\u30eb\u306b\u76f4\u63a5\u5909\u66f4\u3092\u52a0\u3048\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u300cMATLAB \u304b\u3089\u30e2\u30c7\u30eb\u3092\u7de8\u96c6\u3057\u305f\u3044\uff01\u300d\u3068\u3044\u3046\u5834\u5408\u306f\u975e\u5e38\u306b\u4fbf\u5229\u306a\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"538\" class=\"size-large wp-image-11408 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/set_param-1024x538.png\" alt=\"\" \/><\/p>\n<p>\u305d\u308c\u306b\u5bfe\u3057\u3001simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e setVariable\/setBlockParameter\/setModelParameter \u95a2\u6570\u306f\u3001\u30e2\u30c7\u30eb\u306b\u306f\u76f4\u63a5\u5909\u66f4\u3092\u52a0\u3048\u305a simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u306b\u5909\u66f4\u3057\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u3092\u4fdd\u5b58\u3057\u3066\u304a\u304d\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u5b9f\u884c\u6642\u306b\u305d\u306e\u5024\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"538\" class=\"size-large wp-image-11411 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/setBlockParameter-1024x538.png\" alt=\"\" \/><\/p>\n<p>\u4ee5\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u540c\u3058\u3053\u3068\u3092\u3057\u305f\u3051\u308c\u3070\u3001<a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/simulink.simulationinput.html\">Simulink.SimulationInput<\/a> \u3068\u3044\u3046\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u81ea\u5206\u3067\u5b9a\u7fa9\u3057\u3001\u305d\u308c\u3092 sim \u95a2\u6570\u306b\u6e21\u3057\u3066\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u305d\u308c\u304c simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8 1 \u3064\u3067\u307e\u3068\u3081\u3066\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3068\u3044\u3046\u306e\u306f\u5b09\u3057\u3044\u30dd\u30a4\u30f3\u30c8\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u203b\u3061\u306a\u307f\u306b\u30013 \u3064\u306e\u95a2\u6570\u3067\u5909\u66f4\u3057\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u306f\u3001\u305d\u308c\u305e\u308cVariables\/BlockParameters\/ModelParameters \u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"300\" height=\"135\" class=\"size-medium wp-image-11414 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/BlockParameters-300x135.png\" alt=\"\" \/><\/p>\n<h2><span style=\"color: #ff6600\">2.3 \u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e2d\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5909\u66f4<\/span><\/h2>\n<p>Simulink \u306e\u30d6\u30ed\u30c3\u30af\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u4e2d\u306b\u306f\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e2d\u3067\u3082\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u5024\u3092\u5909\u66f4\u3067\u304d\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\uff08\u4f8b\u3048\u3070 Gain \u30d6\u30ed\u30c3\u30af\u306e\u30b2\u30a4\u30f3\u306e\u5024\u306a\u3069\uff09\u3002\u4eca\u307e\u3067\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e2d\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u3001sim \u95a2\u6570\u306f\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e2d\u306e\u5909\u66f4\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001 set_param \u95a2\u6570 \u3067 SimulationCommand \u3092 start \u306b\u6307\u5b9a\u3057\u3066\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u59cb\u3057\u3001\u305d\u306e\u5f8c\u518d\u5ea6 set_param \u95a2\u6570\u3067\u76f4\u63a5\u30e2\u30c7\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre>&gt;&gt; set_param(<span style=\"color: #cc99ff\">\"myModel\"<\/span>,<span style=\"color: #cc99ff\">\"SimulationCommand\"<\/span>,<span style=\"color: #cc99ff\">\"start\"<\/span>);\r\n&gt;&gt; set_param(<span style=\"color: #cc99ff\">\"myModel\/Gain\"<\/span>,<span style=\"color: #cc99ff\">\"Value\"<\/span>,<span style=\"color: #cc99ff\">\"10\"<\/span>);<\/pre>\n<p>\u305d\u308c\u306b\u5bfe\u3057\u3001simlation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e setBlockParameter \u95a2\u6570\u3084 setVariable \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30e2\u30c7\u30eb\u306b\u5909\u66f4\u3092\u52a0\u3048\u308b\u3053\u3068\u306a\u304f\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e2d\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>&gt;&gt; start(sm);\r\n&gt;&gt; setBlockParameter(sm,<span style=\"color: #cc99ff\">\"myModel\/Gain\"<\/span>,<span style=\"color: #cc99ff\">\"Value\"<\/span>,<span style=\"color: #cc99ff\">\"10\"<\/span>);<\/pre>\n<p>\u524d\u8ff0\u306e\u901a\u308asetBlockParameter \u95a2\u6570\u306f\u30e2\u30c7\u30eb\u5074\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u66f4\u3057\u306a\u3044\u306e\u3067\u3001\u6c17\u8efd\u306b\u8272\u3005\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e TunableVariables \u30d7\u30ed\u30d1\u30c6\u30a3\u3068 keys \u95a2\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30e2\u30c7\u30eb\u5185\u306b\u5b58\u5728\u3059\u308b\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e2d\u306b\u5909\u66f4\u53ef\u80fd\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u4e00\u89a7\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>&gt;&gt; keys(sm.TunableVariables)<\/pre>\n<p>\u5404\u30d1\u30e9\u30e1\u30fc\u30bf\u304c\u5909\u66f4\u53ef\u80fd\u304b\u3092\u78ba\u8a8d\u3059\u308b\u306e\u306f\u3082\u3061\u308d\u3093\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30a2\u30d7\u30ea\u5074\u306b\u5909\u66f4\u53ef\u80fd\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u307f\u8868\u793a\uff06\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3001\u3068\u3044\u3063\u305f\u4f7f\u3044\u65b9\u3082\u3067\u304d\u308b\u304b\u3082\uff1f<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u307e\u3068\u3081\u308b\u3068\u3001\u4eca\u307e\u3067\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u300c\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u30a4\u30f3\u30bf\u30e9\u30af\u30c6\u30a3\u30d6\u306b\u5236\u5fa1\u3059\u308b\u300d\u305f\u3081\u306e\u6a5f\u80fd\u304c\u8272\u3005\u3068\u6563\u3089\u3070\u3063\u3066\u3044\u305f\u306e\u306b\u5bfe\u3057\u3001R2024a \u304b\u3089\u306f simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3046\u3060\u3051\u3067\u7c21\u5358\u306b\u5236\u5fa1\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3001\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1><span style=\"color: #ff6600\">3 simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u3053\u3053\u306b\u6ce8\u610f\uff01<\/span><\/h1>\n<p>\u3053\u3053\u307e\u3067 simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u9577\u6240\u3092\u66f8\u3044\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u4f7f\u7528\u3059\u308b\u4e0a\u3067\u306e\u6ce8\u610f\u70b9\u3082\u3044\u304f\u3064\u304b\u5b58\u5728\u3057\u307e\u3059\u3002<\/p>\n<h2><span style=\"color: #ff6600\">3.1 \u4e26\u5217\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306f\u30b5\u30dd\u30fc\u30c8\u5916<\/span><\/h2>\n<p>\u300c\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u3048\u3066\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u300d\u3068\u805e\u304f\u3068\u3001\u8272\u3005\u306a\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u4e26\u5217\u8a08\u7b97\u3067\u5b9f\u65bd\u3059\u308b\u3001\u3068\u3044\u3046\u306e\u3092\u30a4\u30e1\u30fc\u30b8\u3055\u308c\u305f\u65b9\u3082\u3044\u3089\u3063\u3057\u3083\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u6b8b\u5ff5\u306a\u304c\u3089 simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u4e26\u5217\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"219\" class=\"size-large wp-image-11477 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/parallel-1024x219.png\" alt=\"\" \/><\/p>\n<p>\u4e26\u5217\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u3059\u308b\u5834\u5408\u306f <a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/parsim.html\">parsim<\/a> \u95a2\u6570\uff08\u307e\u305f\u306f <a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/batchsim.html\">batchsim<\/a> \u95a2\u6570\uff09\u3068 Simulink.SimulationInput \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2><span style=\"color: #ff6600\">3.2 \u5b9f\u884c\u4e2d\u306f\u30e2\u30c7\u30eb\u306e\u64cd\u4f5c\u4e0d\u53ef<\/span><\/h2>\n<p>simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u59cb\u3059\u308b\u3068\u3001\u30e2\u30c7\u30eb\u306e\u4e00\u6642\u505c\u6b62\u30dc\u30bf\u30f3\u3084\u505c\u6b62\u30dc\u30bf\u30f3\u306a\u3069\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c\u3092\u5236\u5fa1\u3059\u308b\u30dc\u30bf\u30f3\u304c\u30ed\u30c3\u30af\u3055\u308c\u307e\u3059\uff08\u305d\u308c\u4ee5\u5916\u306e\u6a5f\u80fd\u306f\u64cd\u4f5c\u53ef\u80fd\u3067\u3059\uff09\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"636\" class=\"size-large wp-image-11480 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/uncontrollable-1024x636.png\" alt=\"\" \/><\/p>\n<p>\u5b9f\u884c\u3060\u3051\u30d7\u30ed\u30b0\u30e9\u30e0\u304b\u3089\u884c\u3063\u3066\u505c\u6b62\u306f\u624b\u52d5\u3067\u3001\u3068\u3044\u3063\u305f\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2><span style=\"color: #ff6600\">3.3 \u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u7d50\u679c\u306e\u53d6\u5f97\u306f\u505c\u6b62\u3001\u4e00\u6642\u505c\u6b62\u6642\u306e\u307f<\/span><\/h2>\n<p>\u524d\u8ff0\u306e\u901a\u308a\u3001simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u305f\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u7d50\u679c\u306f &#8220;SimulationOutput&#8221; \u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u4e2d\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u306f\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u884c\u4e2d\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"454\" class=\"size-large wp-image-11489 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/outputError-1024x454.png\" alt=\"\" \/><\/p>\n<p>\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e2d\u306b\u7d50\u679c\u3092\u5b9f\u884c\u4e2d\u306b\u9010\u6b21\u53d6\u5f97\u3057\u3066\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u63cf\u753b\u3001\u3068\u3044\u3063\u305f\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u306e\u3067\u6ce8\u610f\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h1><span style=\"color: #ff6600\">4 \u8a66\u3057\u306b\u4f7f\u3063\u3066\u307f\u308b<\/span><\/h1>\n<p>\u305b\u3063\u304b\u304f\u306a\u306e\u3067\u3001simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f7f\u3063\u3066\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5236\u5fa1\u3092\u884c\u3046\u7c21\u5358\u306a\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u3087\u3046\uff08AppDesigner \u306e\u64cd\u4f5c\u65b9\u6cd5\u306a\u3069\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2020\/05\/14\/create-simulink-model-simulation-app-in-app-designer\/?from=jp\">\u4ee5\u524d\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u8a18\u4e8b<\/a>\u3082\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<p>\u4eca\u56de\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u306e\u306f\u3053\u3061\u3089\u306e\u30e2\u30c7\u30eb\u3002Sine Wave \u3068 Gain \u3068 Outport \u304c\u7e4b\u304c\u3063\u3066\u3044\u308b\u3060\u3051\u306e\u7c21\u5358\u306a\u30e2\u30c7\u30eb\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"636\" class=\"size-large wp-image-11492 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/mymodel-1024x636.png\" alt=\"\" \/><\/p>\n<p>\u305f\u3060\u3057\u3001\u5f8c\u3005\u30a2\u30d7\u30ea\u3068\u9023\u643a\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u6642\u9593\u3092 inf\uff08\u7121\u9650\uff09\u3001&#8221;\u51fa\u529b\u306e\u5f62\u5f0f&#8221; \u306e\u8a2d\u5b9a\u3092\u914d\u5217\u3001&#8221;\u5358\u4e00\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u51fa\u529b&#8221; \u306e\u8a2d\u5b9a\u3092 Off \u306b\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"660\" class=\"size-large wp-image-11504 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/config-1024x660.png\" alt=\"\" \/><\/p>\n<p>\u30e2\u30c7\u30eb\u306e\u65b9\u306e\u6e96\u5099\u304c\u6574\u3063\u305f\u3089\u3001\u30a2\u30d7\u30ea\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002\u4eca\u56de\u306f\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u59cb\u3001\u4e00\u6642\u505c\u6b62\u3001\u518d\u958b\u3092\u3059\u308b\u305f\u3081\u306e\u30b9\u30bf\u30fc\u30c8\u30dc\u30bf\u30f3\u3001\u505c\u6b62\u3092\u3059\u308b\u305f\u3081\u306e\u30b9\u30c8\u30c3\u30d7\u30dc\u30bf\u30f3\u3001\u53ef\u8996\u5316\u3092\u884c\u3046\u305f\u3081\u306e\u5ea7\u6a19\u8ef8\u3001\u30b2\u30a4\u30f3\u306e\u5024\u3092\u5909\u66f4\u3059\u308b\u305f\u3081\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u3092\u914d\u7f6e\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"960\" height=\"720\" class=\"size-full wp-image-11495 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/layout.png\" alt=\"\" \/><\/p>\n<p>\u6b21\u306b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u4f5c\u6210\u3067\u3059\u3002\u307e\u305a\u306f\u30a2\u30d7\u30ea\u8d77\u52d5\u6642\u306b simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u3001startup \u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002<\/p>\n<pre><span style=\"color: #0000ff\">function<\/span> startupFcn(app)\r\n    app.sm = simulation(<span style=\"color: #cc99ff\">\"myModel\"<\/span>);\r\n<span style=\"color: #0000ff\">end<\/span><\/pre>\n<p>\u3042\u3068\u306f\u3053\u306e simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5404\u7a2e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3067\u4f7f\u7528\u3059\u308b\u3060\u3051\u3067\u3059\u3002 simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e &#8220;Status&#8221; \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3067\u73fe\u5728\u306e\u30e2\u30c7\u30eb\u306e\u72b6\u614b\u3092\u78ba\u8a8d\u3067\u304d\u308b\u306e\u3067\u3001\u3053\u3061\u3089\u3082\u3046\u307e\u304f\u4f7f\u3063\u3066\u51e6\u7406\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u30fb\u30b9\u30bf\u30fc\u30c8\u30dc\u30bf\u30f3\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\uff1a<\/p>\n<pre><span style=\"color: #0000ff\">function<\/span> StartButtonPushed(app, event)\r\n    <span style=\"color: #0000ff\">if<\/span> strcmp(app.sm.Status,<span style=\"color: #cc99ff\">\"inactive\"<\/span>) <span style=\"color: #99cc00\">%\u672a\u5b9f\u884c\u306e\u5834\u5408<\/span>\r\n        start(app.sm); %\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u958b\u59cb\r\n        app.StartButton.Text = <span style=\"color: #cc99ff\">\"Pause\"<\/span>;\r\n    <span style=\"color: #0000ff\">elseif<\/span> strcmp(app.sm.Status,\"paused\") <span style=\"color: #99cc00\">%\u4e00\u6642\u505c\u6b62\u4e2d\u306e\u5834\u5408<\/span>\r\n        resume(app.sm); <span style=\"color: #99cc00\">%\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u518d\u958b<\/span>\r\n        app.StartButton.Text = <span style=\"color: #cc99ff\">\"Pause\"<\/span>;\r\n    <span style=\"color: #0000ff\">else<\/span> %\u5b9f\u884c\u4e2d\u306e\u5834\u5408\r\n        pause(app.sm); <span style=\"color: #99cc00\">%\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u4e00\u6642\u505c\u6b62<\/span>\r\n        app.StartButton.Text = <span style=\"color: #cc99ff\">\"Resume\"<\/span>;\r\n        <span style=\"color: #99cc00\">%\u30d7\u30ed\u30c3\u30c8\u51e6\u7406 %<\/span>\r\n        output = app.sm.SimulationOutput;\r\n        t = output.tout;\r\n        y = output.yout;\r\n        plot(app.UIAxes,t,y);\r\n        drawnow;\r\n    <span style=\"color: #0000ff\">end<\/span>\r\n<span style=\"color: #0000ff\">end<\/span><\/pre>\n<p>\u30fb\u30b9\u30c8\u30c3\u30d7\u30dc\u30bf\u30f3\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\uff1a<\/p>\n<pre><span style=\"color: #0000ff\">function<\/span> StopButtonPushed(app, event)\r\n    stop(app.sm);\r\n    app.StartButton.Text = <span style=\"color: #cc99ff\">\"Start\"<\/span>;\r\n    output = app.sm.SimulationOutput;\r\n    t = output.tout;\r\n    y = output.yout;\r\n    plot(app.UIAxes,t,y);\r\n    drawnow;\r\n<span style=\"color: #0000ff\">end<\/span><\/pre>\n<p>\u30fb\u30b2\u30a4\u30f3\u306e\u30b9\u30e9\u30a4\u30c0\u30fc\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\uff1a<\/p>\n<pre><span style=\"color: #0000ff\">function<\/span> GainSliderValueChanged(app, event)\r\n    value = app.GainSlider.Value;\r\n    setBlockParameter(app.sm,<span style=\"color: #cc99ff\">\"myModel\/Gain\"<\/span>,<span style=\"color: #cc99ff\">\"Gain\"<\/span>,num2str(value));\r\n<span style=\"color: #0000ff\">end<\/span><\/pre>\n<p>\u3042\u3068\u306f\u5b9f\u969b\u306b\u52d5\u304b\u3057\u3066\u307f\u308b\u3068\u2026\u2026<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"960\" height=\"720\" class=\"size-full wp-image-11498 alignnone\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/appResult.png\" alt=\"\" \/><\/p>\n<p>\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306e\u5236\u5fa1\u3068\u30b2\u30a4\u30f3\u306e\u5024\u306e\u5909\u66f4\u304c\u53ef\u80fd\u306a\u30a2\u30d7\u30ea\u306e\u5b8c\u6210\u3067\u3059\uff01<\/p>\n<p>simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092 1 \u3064\u4f5c\u308b\u3060\u3051\u3067\u8272\u3005\u306a\u5236\u5fa1\u304c\u884c\u3048\u308b\u5206\u3001\u30a2\u30d7\u30ea\u3068\u306e\u76f8\u6027\u306f\u3088\u3055\u305d\u3046\u3067\u3059\u306d\u3002\u7279\u306b\u3001Simulink Compiler \u3092\u4f7f\u3063\u3066 Simulink \u3092\u6301\u3063\u3066\u306a\u3044\u4eba\u5411\u3051\u306b\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u3001\u307f\u305f\u3044\u306a\u7528\u9014\u306b\u306f\u30aa\u30b9\u30b9\u30e1\u304b\u3082\uff1f<\/p>\n<h1><span style=\"color: #ff6600\">5. \u307e\u3068\u3081<\/span><\/h1>\n<p><span style=\"color: #000000\">\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306e\u8a18\u4e8b\u306f R2024a \u3067\u65b0\u3057\u304f\u5b9f\u88c5\u3055\u308c\u305f simulation \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u7d39\u4ecb\u3067\u3057\u305f\u3002\u5b9f\u969b\u306b\u4f7f\u3063\u3066\u307f\u3066\u3001\u3084\u306f\u308a 1 \u3064\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u6a5f\u80fd\u304c\u96c6\u7d04\u3057\u3066\u3044\u308b\u5206\u3001\u30b3\u30fc\u30c9\u304c\u66f8\u304d\u3084\u3059\u304f\u306a\u3063\u3066\u3044\u308b\u306a\u3068\u611f\u3058\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000\">\u300cSimulink API\u3001\u899a\u3048\u308b\u95a2\u6570\u304c\u3044\u3063\u3071\u3044\u3042\u3063\u3066\u3061\u3087\u3063\u3068\u82e6\u624b\u2026\u2026\u300d\u3068\u3044\u3046\u65b9\u3082\u3001\u3053\u308c\u3092\u6a5f\u306b\u305c\u3072\u4e00\u5ea6\u8a66\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\uff01<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img decoding=\"async\"  class=\"img-responsive\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2024\/04\/simulationMethods-1024x181.png\" onError=\"this.style.display ='none';\" \/><\/div>\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\u666e\u6bb5\u306f\u300cMATLAB \u3068 Simulink \u3092\u7e4b\u3050\u300d\u3092\u30c6\u30fc\u30de\u306b\u6280\u8853\u8a18\u4e8b\u3092\u66f8\u3044\u3066\u3044\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n\u3055\u3066\u3001\u5148\u65e5 MATLAB \u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3042\u308b R2024a \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u307e\u3057\u305f\u306d\uff01\u9762\u767d\u3044\u65b0\u6a5f\u80fd\u306f\u3064\u3044\u3064\u3044\u6642\u9593\u3082\u5fd8\u308c\u3066\u5f04\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u3053\u306e\u6642\u671f\u306f\u6642\u9593\u7ba1\u7406\u304c\u5927\u5909\u3067\u3059\u2026\u2026\u3002<br \/>\n\u305d\u3057\u3066\u3001\u4eca\u56de\u306e R2024a&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2024\/04\/10\/simulation-object\/\">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,65,135,61],"tags":[167,67,69,164],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/11366"}],"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=11366"}],"version-history":[{"count":31,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/11366\/revisions"}],"predecessor-version":[{"id":11529,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/11366\/revisions\/11529"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media?parent=11366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/categories?post=11366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/tags?post=11366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}