{"id":2195,"date":"2020-10-29T13:31:06","date_gmt":"2020-10-29T04:31:06","guid":{"rendered":"https:\/\/blogs.mathworks.com\/japan-community\/?p=2195"},"modified":"2022-06-02T05:21:49","modified_gmt":"2022-06-01T20:21:49","slug":"simulink-online-display","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/japan-community\/2020\/10\/29\/simulink-online-display\/","title":{"rendered":"Simulink \u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u65b9\u6cd5\u307e\u3068\u3081\u3066\u307f\u305f\uff01"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u9060\u85e4\u3068\u7533\u3057\u307e\u3059\u3002<br \/>\n\u524d\u56de\u306e\u6295\u7a3f\u306f 5\/14 \u3068\u3044\u3046\u3053\u3068\u3067\u3001\u306a\u3093\u3068 5 \u30f6\u6708\u3076\u308a\u306e\u6295\u7a3f\u3067\u3059\u3002\u6642\u304c\u7d4c\u3064\u306e\u306f\u65e9\u3044\u3082\u306e\u3067\u3059\u306d\u2026\u2026\u3002<\/p>\n<p>\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u300cSimulink \u3068 MATLAB \u3092\u3064\u306a\u3050\u300d\u3092\u30b3\u30f3\u30bb\u30d7\u30c8\u3068\u3057\u3066\u3001\u300c<a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2020\/02\/19\/control-simulink-from-matlab-with-simulink-api\/\">Simulink API<\/a>\u300d\u3084\u300c<a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2020\/05\/14\/create-simulink-model-simulation-app-in-app-designer\/\">App Designer \u3068 Simulink \u306e\u9023\u643a\u65b9\u6cd5<\/a>\u300d\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001Simulink \u306e\u30e2\u30c7\u30eb\u5185\u3067 MATLAB \u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u3046\u5927\u304d\u306a\u52d5\u6a5f\u306e\u4e00\u3064\u3067\u3042\u308b Simulink \u306e\u53ef\u8996\u5316\u3001\u7279\u306b\u300c\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u300d\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u3066\u307f\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h1><span style=\"color: #ff6600\">Simulink \u306b\u304a\u3051\u308b\u53ef\u8996\u5316<\/span><\/h1>\n<p>Simulink \u3067\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u884c\u3046\u4e0a\u3067\u3001\u300c\u53ef\u8996\u5316\u300d\u306f\u91cd\u8981\u306a\u8981\u7d20\u306e\u4e00\u3064\u3067\u3059\u3002\u30e2\u30c7\u30eb\u304c\u6b63\u3057\u304f\u4f5c\u3089\u308c\u3066\u3044\u308b\u304b\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u5024\u306f\u9069\u5207\u304b\u3001\u610f\u56f3\u3057\u306a\u3044\u7d50\u679c\u3068\u306a\u308b\u539f\u56e0\u306f\u4f55\u304b\u3001\u306a\u3069\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u4e0a\u3067\u306f\u6b20\u304b\u305b\u306a\u3044\u30d7\u30ed\u30bb\u30b9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3055\u3066\u3001Simulink \u306b\u304a\u3051\u308b\u53ef\u8996\u5316\u306b\u306f\u4e3b\u306b 2 \u3064\u306e\u30bf\u30a4\u30d7\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<h4><span style=\"color: #ff0000\"><strong>\u30e2\u30c7\u30eb\u5b9f\u884c\u5f8c<\/strong><\/span>\u306e\u53ef\u8996\u5316<\/h4>\n<p>\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u4e00\u5ea6\u884c\u3044\u3001\u305d\u306e\u30ed\u30b0\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u53ef\u8996\u5316\u3092\u884c\u3046\u65b9\u6cd5\u3067\u3059\u3002\u69d8\u3005\u306a\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u3092\u8a73\u7d30\u306b\u691c\u8a3c\u3059\u308b\u5834\u5408\u3001\u8907\u6570\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u7d50\u679c\u3092\u6bd4\u8f03\u3059\u308b\u5834\u5408\u306f\u3053\u3061\u3089\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<li>\n<h4><span style=\"color: #ff0000\"><strong>\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d<\/strong><\/span>\u306e\u53ef\u8996\u5316<\/h4>\n<p>\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u4e2d\u306b\u3001\u8a08\u7b97\u7d50\u679c\u3092\u9010\u6b21\u7684\u306b\u53ef\u8996\u5316\u3057\u3066\u3044\u304f\u65b9\u6cd5\u3067\u3059\u3002\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u3068\u9023\u643a\u3057\u3066\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u51e6\u7406\u3092\u884c\u3046\u5834\u5408\u306a\u3069\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u306b\u30e2\u30c7\u30eb\u304c\u6b63\u3057\u304f\u52d5\u3044\u3066\u3044\u308b\u304b\u3092\u76e3\u8996\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u5834\u5408\u3001\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u524d\u8005\u306b\u3064\u3044\u3066\u306f\u3001\u30ed\u30b0\u30c7\u30fc\u30bf\u3055\u3048\u53d6\u3063\u3066\u3057\u307e\u3048\u3070\u8c4a\u5bcc\u306a MATLAB \u306e\u53ef\u8996\u5316\u95a2\u6570\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u6bd4\u8f03\u7684\u7c21\u5358\u3067\u3059\u3002\u305d\u308c\u306b\u5bfe\u3057\u3001\u5f8c\u8005\u306f\u30e2\u30c7\u30eb\u306e\u5b9f\u884c\u4e2d\u3001\u3059\u306a\u308f\u3061 Simulink \u30e2\u30c7\u30eb\u5185\u3067\u53ef\u8996\u5316\u51e6\u7406\u3092\u884c\u3046\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001\u4f7f\u3048\u308b\u53ef\u8996\u5316\u6a5f\u80fd\u306f\u9650\u3089\u308c\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306b\u53ef\u8996\u5316\u3057\u305f\u3044\u30c7\u30fc\u30bf\u306e\u4e2d\u306b\u306f\u3001 Scope \u30d6\u30ed\u30c3\u30af\u3067\u6642\u9593\u5fdc\u7b54\u3092\u898b\u308b\u3060\u3051\u3067\u306f\u5341\u5206\u3067\u306a\u3044\u30b1\u30fc\u30b9\u3082\u591a\u3044\u3067\u3059\u3002\u7279\u306b\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u9023\u643a\u3092\u884c\u3046\u306a\u3089\u3001\u898b\u6804\u3048\u3068\u3044\u3046\u610f\u5473\u3067\u3082\u30c7\u30fc\u30bf\u306e\u53ef\u8996\u5316\u306e\u90e8\u5206\u3092\u5145\u5b9f\u3055\u305b\u305f\u3044\u3067\u3059\u3088\u306d\u3002\u4f8b\u3048\u3070\u4e0b\u306e\u52d5\u753b\u306f Dashboard \u3092\u4f7f\u3063\u3066\u3044\u3044\u611f\u3058\u306e UI \u3092\u4f5c\u3063\u3066\u307e\u3059\u3002<\/p>\n<p><iframe loading=\"lazy\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/EqVw642A2ZE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>\u305d\u3053\u3067\u3001\u4eca\u56de\u306f<span style=\"color: #ff0000\"><strong>\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u65b9\u6cd5<\/strong><\/span>\u306b\u3064\u3044\u3066\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308b\u306e\u304b\u3001\u7c21\u5358\u306b\u307e\u3068\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1><span style=\"color: #ff6600\">Simulink \u306e\u6a19\u6e96\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u53ef\u8996\u5316<\/span><\/h1>\n<p>\u5192\u982d\u3067\u300c\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u300d\u306f\u300cSimulink \u306e\u30e2\u30c7\u30eb\u5185\u3067 MATLAB \u306e\u30b3\u30fc\u30c9\u3092\u4f7f\u3046\u5927\u304d\u306a\u52d5\u6a5f\u306e\u4e00\u3064\u3067\u3042\u308b\u300d\u3068\u66f8\u304d\u307e\u3057\u305f\u304c\u3001\u3082\u3061\u308d\u3093 MATLAB \u3092\u4f7f\u308f\u306a\u304f\u3066\u3082 Simulink \u306e\u6a19\u6e96\u6a5f\u80fd\u3060\u3051\u3067\u3044\u308d\u3044\u308d\u306a\u53ef\u8996\u5316\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30fb<a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/scope.html\">Scope \u30d6\u30ed\u30c3\u30af<\/a><\/h2>\n<p>\u307e\u305a\u306f\u6700\u3082\u30e1\u30b8\u30e3\u30fc\u306a Scope \u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002<span style=\"color: #ff0000\">\u4fe1\u53f7\u306e\u6642\u9593\u5fdc\u7b54<\/span>\u3092\u30d7\u30ed\u30c3\u30c8\u3057\u3066\u304f\u308c\u307e\u3059\u3002Scope \u30d6\u30ed\u30c3\u30af\u306f\u30e2\u30c7\u30eb\u5b9f\u884c\u5f8c\u306e\u7d50\u679c\u306e\u78ba\u8a8d\u306b\u4f7f\u7528\u3055\u308c\u308b\u5834\u5408\u3082\u591a\u3044\u3067\u3059\u304c\u3001\u4e00\u5b9a\u6642\u9593\u3054\u3068\u306b\u7d50\u679c\u304c\u9010\u6b21\u66f4\u65b0\u3055\u308c\u308b\u305f\u3081\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u306b\u3082\u4f7f\u3048\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1448\" height=\"928\" class=\"alignnone size-full wp-image-2363\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/scopeInit.gif\" alt=\"\" \/><\/p>\n<p>\u307e\u305f\u3001Scope \u306e\u30e1\u30cb\u30e5\u30fc\u306e\u300c\u30c4\u30fc\u30eb\u300d-&gt;\u300c\u6e2c\u5b9a\u5024\u300d\u304b\u3089\u300c\u30d4\u30fc\u30af\u306e\u691c\u51fa\u300d\u3084\u300c\u4fe1\u53f7\u306e\u7d71\u8a08\u300d\u3092\u9078\u3076\u3068\u3001\u4fe1\u53f7\u306e\u30d4\u30fc\u30af\u5024\u3084\u6700\u5927\/\u6700\u5c0f\u5024\u3068\u3044\u3063\u305f\u60c5\u5831\u3092\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b9\u30c8\u30ea\u30fc\u30df\u30f3\u30b0\u30c7\u30fc\u30bf\u306b\u30d5\u30a3\u30eb\u30bf\u3092\u304b\u3051\u308b\u5834\u5408\u306a\u3069\u3001<span style=\"color: #ff0000\">\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u4fe1\u53f7\u306e\u8a73\u7d30\u60c5\u5831\u304c\u5fc5\u8981\u306a\u5834\u5408\u306b\u6709\u52b9\u3067\u3059<\/span>\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1448\" height=\"928\" class=\"alignnone size-full wp-image-2333\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/scope.gif\" alt=\"\" \/><\/p>\n<p>\u3061\u306a\u307f\u306b <a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/scopeviewer.html\">\u30b9\u30b3\u30fc\u30d7 \u30d3\u30e5\u30fc\u30a2\u30fc<\/a> \u6a5f\u80fd\u3092\u4f7f\u3046\u3068\u3001\u308f\u3056\u308f\u3056\u4fe1\u53f7\u306b Scope \u30d6\u30ed\u30c3\u30af\u3092\u7e4b\u304c\u306a\u304f\u3066\u3082\u540c\u7b49\u306e\u53ef\u8996\u5316\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u306e\u3067\u3001\u30e2\u30c7\u30eb\u4e0a\u306e\u8907\u6570\u306e\u4fe1\u53f7\u3092\u53ef\u8996\u5316\u3059\u308b\u969b\u306f\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30fb<a title=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/xygraph.html (link no longer works)\">XY Graph \u30d6\u30ed\u30c3\u30af<\/a><\/h2>\n<p>XY Graph \u30d6\u30ed\u30c3\u30af\u306f 1\u3064\u76ee\u306e\u4fe1\u53f7\u3092\u6a2a\u8ef8\u30012\u3064\u76ee\u306e\u4fe1\u53f7\u3092\u7e26\u8ef8\u3068\u3057\u305f\u30b0\u30e9\u30d5\u3092\u63cf\u753b\u3059\u308b\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002Scope \u306f 1 \u3064\u306e\u4fe1\u53f7\u306e\u8a73\u7d30\u60c5\u5831\u3092\u78ba\u8a8d\u3059\u308b\u306e\u304c\u5f97\u610f\u3067\u3059\u304c\u3001<span style=\"color: #ff0000\">XY Graph \u306f 2 \u3064\u306e\u4fe1\u53f7\u306e\u95a2\u4fc2\u6027\u3092\u8996\u899a\u7684\u306b\u78ba\u8a8d\u3057\u305f\u3044\u5834\u5408\u306b\u6709\u52b9\u3067\u3059<\/span>\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1448\" height=\"928\" class=\"alignnone size-full wp-image-2335\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/xy.gif\" alt=\"\" \/><\/p>\n<p>\u4f8b\u3048\u3070\u7269\u4f53\u306e\u4f4d\u7f6e\u3092\u5236\u5fa1\u3059\u308b\u30e2\u30c7\u30eb\u306e\u5834\u5408\u3001x \u3068 y \u306e\u5fdc\u7b54\u3092\u5358\u4f53\u3067\u898b\u3066\u3082\u72b6\u6cc1\u304c\u5206\u304b\u308a\u306b\u304f\u3044\u305f\u3081\u3001x-y \u30b0\u30e9\u30d5\u3092\u66f8\u3044\u3066\u7d4c\u8def\u3092\u898b\u305f\u307b\u3046\u304c\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3088\u306d\u3002\u3053\u3046\u3044\u3063\u305f\u5834\u5408\u306f XY Graph \u30d6\u30ed\u30c3\u30af\u304c\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u6ce8\u610f\u70b9\u3068\u3057\u3066\u3001Scope \u30d6\u30ed\u30c3\u30af\u3068\u306f\u9055\u3044\u3001XY Graph \u306b\u306f\u5ea7\u6a19\u8ef8\u306e\u30aa\u30fc\u30c8\u30d5\u30a3\u30c3\u30c6\u30a3\u30f3\u30b0\u6a5f\u80fd\u304c\u3042\u308a\u307e\u305b\u3093\u3002\u30e2\u30c7\u30eb\u306e\u5b9f\u884c\u4e2d\u3067\u3082 XY Graph \u30d6\u30ed\u30c3\u30af\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u81ea\u7531\u306b\u5909\u66f4\u53ef\u80fd\u3067\u3059\u306e\u3067\u3001\u3082\u3057\u9014\u4e2d\u3067\u5ea7\u6a19\u8ef8\u306e\u7bc4\u56f2\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30d1\u30e9\u30e1\u30fc\u30bf\u30a6\u30a3\u30f3\u30c9\u30a6\u304b\u3089\u5ea7\u6a19\u7bc4\u56f2\u306e\u5024\u3092\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30fb<a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/ug\/tune-and-visualize-your-model-with-dashboard-blocks.html\">Dashboard \u30e9\u30a4\u30d6\u30e9\u30ea<\/a><\/h2>\n<p>Dashboard \u30e9\u30a4\u30d6\u30e9\u30ea\u5185\u306e\u30d6\u30ed\u30c3\u30af\u306b\u3082 <a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/dashboardscope.html\">Dashboard Scope<\/a> \u30d6\u30ed\u30c3\u30af\u3084<a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/gauge.html\"> Gauge<\/a> \u30d6\u30ed\u30c3\u30af\u306a\u3069\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306b\u66f4\u65b0\u3055\u308c\u308b\u53ef\u8996\u5316\u6a5f\u80fd\u304c\u3042\u308a\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u5192\u982d\u3067\u7d39\u4ecb\u3057\u305f\u52d5\u753b\u3067\u4f7f\u308f\u308c\u3066\u3044\u305f\u306e\u306f\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d6\u30ed\u30c3\u30af\u7fa4\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1448\" height=\"928\" class=\"alignnone size-full wp-image-2337\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/dashboard.gif\" alt=\"\" \/><\/p>\n<p>Dashboard \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u53ef\u8996\u5316\u7528\u30d6\u30ed\u30c3\u30af\u7fa4\u306f\u3001<span style=\"color: #ff0000\">\u30e2\u30c7\u30eb\u4e0a\u306b\u76f4\u63a5\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u7d50\u679c\u3092\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/span>\u305f\u3081\u3001\u5927\u91cf\u306e Scope \u30a6\u30a3\u30f3\u30c9\u30a6\u306e\u8868\u793a\u3092\u5207\u308a\u66ff\u3048\u308b\u3001\u30e2\u30c7\u30eb\u306e\u968e\u5c64\u3092\u79fb\u52d5\u3057\u306a\u304c\u3089\u9069\u5207\u306a Scope \u30d6\u30ed\u30c3\u30af\u3092\u958b\u304f\u3001\u3068\u3044\u3063\u305f\u624b\u9593\u304c\u751f\u3058\u306b\u304f\u3044\u306e\u304c\u5927\u304d\u306a\u5229\u70b9\u3067\u3059\u3002\u30e2\u30c7\u30eb\u4e0a\u306b\u4e00\u7a2e\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001<a href=\"https:\/\/blogs.mathworks.com\/japan-community\/2020\/05\/14\/create-simulink-model-simulation-app-in-app-designer\/\">\u524d\u56de\u306e\u8a18\u4e8b<\/a>\u3068\u540c\u69d8\u3001Simulink \u306b\u3042\u307e\u308a\u6163\u308c\u3066\u3044\u306a\u3044\u65b9\u3068\u30e2\u30c7\u30eb\u3092\u3084\u308a\u53d6\u308a\u3059\u308b\u969b\u306b\u3082\u52b9\u679c\u7684\u3067\u3059\u306d\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30fb<a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/ug\/populate-sdi-with-your-data.html\">\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u30a4\u30f3\u30b9\u30da\u30af\u30bf\u30fc<\/a><\/h2>\n<p>\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u30a4\u30f3\u30b9\u30da\u30af\u30bf\u30fc\u306f Simulink \u306e\u53ef\u8996\u5316\u6a5f\u80fd\u306e\u4e00\u3064\u3067\u3001\u300c\u9078\u629e\u3057\u305f\u4fe1\u53f7\u306e\u30ed\u30b0\u300d\u3092\u8a2d\u5b9a\u3057\u305f\u4fe1\u53f7\u306e\u6642\u9593\u5fdc\u7b54\u3092\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u591a\u304f\u306e\u5834\u5408\u306f\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u5b9f\u884c\u5f8c\u306b\u691c\u8a3c\u3001\u6bd4\u8f03\u3092\u884c\u3046\u305f\u3081\u306b\u4f7f\u308f\u308c\u307e\u3059\u304c\u3001\u4e00\u5ea6\u30e2\u30c7\u30eb\u3092\u5b9f\u884c\u3057\u3066\u30d7\u30ed\u30c3\u30c8\u3059\u308b\u4fe1\u53f7\u3092\u9078\u629e\u3057\u3066\u304a\u3051\u3070\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u5b9f\u884c\u4e2d\u306b\u305d\u306e\u7d50\u679c\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1448\" height=\"928\" class=\"alignnone size-full wp-image-2367\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/inspector.gif\" alt=\"\" \/><\/p>\n<p>\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u30a4\u30f3\u30b9\u30da\u30af\u30bf\u30fc\u3092\u4f7f\u3046\u4e00\u756a\u306e\u5229\u70b9\u306f\u3001<span style=\"color: #ff0000\"><span style=\"color: #000000\">\u5b9f\u884c\u4e2d\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u7d50\u679c\u3060\u3051\u3067\u306a\u304f\u3001<\/span>\u904e\u53bb\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u7d50\u679c\u3082\u5408\u308f\u305b\u3066\u53ef\u8996\u5316\u3067\u304d\u308b<\/span>\u70b9\u3067\u3059\u3002\u4f8b\u3048\u3070\u2191\u306e GIF \u306f\u524d\u306e\u5b9f\u884c\u7d50\u679c\u3092\u8d64\u3067\u8868\u793a\u3057\u3064\u3064\u3001\u30e2\u30c7\u30eb\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5909\u3048\u3066\u518d\u5ea6\u5b9f\u884c\u3057\u305f\u7d50\u679c\u3092\u9752\u3067\u30d7\u30ed\u30c3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306b\u904e\u53bb\u306e\u7d50\u679c\u3068\u6bd4\u8f03\u3057\u305f\u3044\u5834\u5408\u306f\u7279\u306b\u6709\u52b9\u306a\u53ef\u8996\u5316\u65b9\u6cd5\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1><span style=\"color: #ff6600\">MATLAB \u306e\u95a2\u6570\u3092\u4f7f\u3063\u305f\u53ef\u8996\u5316<\/span><\/h1>\n<p>MATLAB \u306b\u306f Simulink \u306e\u6a19\u6e96\u6a5f\u80fd\u3088\u308a\u3082\u591a\u304f\u306e\u53ef\u8996\u5316\u95a2\u6570\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u30e2\u30c7\u30eb\u5185\u3067\u305d\u308c\u3089\u306e\u95a2\u6570\u3092\u4f7f\u3046\u3053\u3068\u3067\u3088\u308a\u9ad8\u5ea6\u306a\u53ef\u8996\u5316\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30e2\u30c7\u30eb\u5185\u3067 MATLAB \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u306f\u8907\u6570\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u3053<\/p>\n<ul>\n<li>MATLAB Function \u30d6\u30ed\u30c3\u30af<\/li>\n<li>Interpreted MATLAB Function \u30d6\u30ed\u30c3\u30af<\/li>\n<li>MATLAB System \u30d6\u30ed\u30c3\u30af<\/li>\n<\/ul>\n<p>\u306e 3 \u3064\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/matlabfunction.html\">MATLAB Function \u30d6\u30ed\u30c3\u30af<\/a>\uff08+ <a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/coder.extrinsic.html\">coder.extrinsic \u95a2\u6570<\/a>\uff09<\/h2>\n<p>MATLAB Function \u30d6\u30ed\u30c3\u30af\u306f\u3001\u30d6\u30ed\u30c3\u30af\u306e\u51e6\u7406\u3092 MATLAB \u30b3\u30fc\u30c9\u3067\u8a18\u8ff0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002\u304a\u305d\u3089\u304f\u30e2\u30c7\u30eb\u4e0a\u3067 MATLAB \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u6a5f\u80fd\u3068\u3057\u3066\u306f\u4e00\u756a\u6709\u540d\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001MATLAB Function \u30d6\u30ed\u30c3\u30af\u306f\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u5b9f\u884c\u6642\u306b MATLAB \u30b3\u30fc\u30c9\u3092\u30b3\u30fc\u30c9\u751f\u6210\u3057\u307e\u3059\u306e\u3067\u3001\u30b3\u30fc\u30c9\u751f\u6210\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u95a2\u6570\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002MATLAB \u306e\u53ef\u8996\u5316\u95a2\u6570\u306f\u57fa\u672c\u7684\u306b\u30b3\u30fc\u30c9\u751f\u6210\u975e\u5bfe\u5fdc\u3067\u3059\u306e\u3067\u3001\u305d\u306e\u307e\u307e\u3067\u306f\u4f7f\u7528\u3067\u304d\u306a\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u4f7f\u7528\u3059\u308b\u306e\u304c <a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/coder.extrinsic.html\">coder.extrinsic<\/a> \u3068\u3044\u3046\u95a2\u6570\u3067\u3059\u3002\u3053\u306e\u95a2\u6570\u3092\u4f7f\u3046\u3068\u3001\u6307\u5b9a\u3057\u305f\u95a2\u6570\u304c\u30b3\u30fc\u30c9\u751f\u6210\u3055\u308c\u305a\u306b MATLAB \u5074\u3067\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u30b3\u30fc\u30c9\u751f\u6210\u975e\u5bfe\u5fdc\u306e\u53ef\u8996\u5316\u95a2\u6570\u3082 MATLAB Function \u30d6\u30ed\u30c3\u30af\u5185\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08\u8a73\u3057\u304f\u306f<a title=\"https:\/\/jp.mathworks.com\/help\/simulink\/ug\/calling-matlab-functions.html\">\u3053\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u3092\u53c2\u7167\uff09\u3002<\/p>\n<p>\u4f7f\u3044\u65b9\u306f\u3001MATLAB Function \u30d6\u30ed\u30c3\u30af\u306e\u30b3\u30fc\u30c9\u306e\u5192\u982d\u306b coder.extrinsic \u3092 1 \u884c\u5165\u308c\u308b\u3060\u3051\u3067\u3059\u3002\u53ef\u8996\u5316\u306e\u95a2\u6570\u3092\u81ea\u5206\u3067 .m \u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4f5c\u6210\u3057\u3066\u304a\u304d\u3001\u305d\u308c\u3092 coder.extrinsic \u3067\u6307\u5b9a\u3057\u3066\u4f7f\u7528\u3059\u308b\u5834\u5408\u304c\u591a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p><span style=\"color: #0000ff\">function\u00a0<\/span>func(u)<\/p>\n<p style=\"padding-left: 30px\">coder.extrinsic(<span style=\"color: #ff00ff\">&#8216;myDispFun&#8217;<\/span>);<br \/>\nmyDispFun(u);<\/p>\n<p><span style=\"color: #0000ff\">end<\/span><\/p><\/blockquote>\n<p>myDispFun.m \u306e\u30b3\u30fc\u30c9\u751f\u6210\u306f\u884c\u308f\u308c\u306a\u3044\u305f\u3081\u3001\u5185\u90e8\u3067\u306f\u81ea\u7531\u306b MATLAB \u306e\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u53ef\u8996\u5316\u306b\u4f7f\u3046\u3068\u304d\u306b\u306f\u3001\u6c38\u7d9a\u5909\u6570\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u70b9\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\u51e6\u7406\u3092\u66f8\u304f\u5834\u5408\u304c\u591a\u3044\u3067\u3059\u306d\u3002\u4f8b\u3048\u3070\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u6700\u521d\u306e\u30b9\u30c6\u30c3\u30d7\u3067 plot \u3092\u3057\u3001\u305d\u308c\u4ee5\u964d\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u51e6\u7406\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p><span style=\"color: #0000ff\">function<\/span>\u00a0myDispFun(u)<\/p>\n<p style=\"padding-left: 30px\"><span style=\"color: #0000ff\">persistent <span style=\"color: #000000\"><span style=\"color: #ff00ff\">p<\/span><br \/>\n<span style=\"color: #0000ff\">if<\/span>\u00a0isempty(p)<br \/>\np = plot(u(1),u(2));<br \/>\naxis([0 10 0 10]);<br \/>\n<\/span><\/span><span style=\"color: #0000ff\"><span style=\"color: #000000\"><span style=\"color: #0000ff\">else<\/span><br \/>\np.XData = [p.XData u(1)];<br \/>\np.YData = [p.YData u(2)];<br \/>\n<\/span><\/span><span style=\"color: #0000ff\"><span style=\"color: #000000\"><span style=\"color: #0000ff\">end<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #0000ff\">end<\/span><\/p><\/blockquote>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"1448\" height=\"928\" class=\"alignnone size-full wp-image-2359\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/matFun.gif\" alt=\"\" \/><\/p>\n<p>\u305f\u3060\u3057\u3001\u6c38\u7d9a\u5909\u6570\u3092\u4f7f\u3046\u3068\u6b21\u56de\u4ee5\u964d\u306e\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u306b\u5024\u304c\u6301\u3061\u8d8a\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3054\u3068\u306b clear \u30b3\u30de\u30f3\u30c9\u3067\u6c38\u7d9a\u5909\u6570\u3092\u30af\u30ea\u30a2\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u70b9\u306b\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u5f8c\u8ff0\u3059\u308b 2 \u3064\u306e\u30d6\u30ed\u30c3\u30af\u3068\u6bd4\u3079\u308b\u3068\u3001<span style=\"color: #ff0000\">\u5236\u7d04\u304c\u5c11\u306a\u304f\u30b3\u30fc\u30c9\u3082\u66f8\u304d\u3084\u3059\u3044<\/span>\u3001\u3068\u3044\u3046\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002\u3068\u308a\u3042\u3048\u305a\u3053\u306e\u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u3063\u3066\u304a\u3051\u3070\u3001\u53ef\u8996\u5316\u3067\u304d\u306a\u3044\u3001\u3068\u3044\u3046\u3053\u3068\u306f\u8d77\u304d\u306b\u304f\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/interpretedmatlabfunction.html\">Interpreted MATLAB Function \u30d6\u30ed\u30c3\u30af<\/a><\/h2>\n<p>Interpreted MATLAB Function \u30d6\u30ed\u30c3\u30af\u306f\u3001\u6307\u5b9a\u3057\u305f MATLAB \u95a2\u6570\u3092\u00a0MATLAB \u4e0a\u3067\u5b9f\u884c\u3057\u3001\u7d50\u679c\u3092 Simulink \u306b\u8fd4\u3059\u30d6\u30ed\u30c3\u30af\u3067\u3059\u3002<\/p>\n<p>MATLAB Function \u30d6\u30ed\u30c3\u30af\u3068\u9055\u3063\u3066\u305d\u3082\u305d\u3082\u30b3\u30fc\u30c9\u751f\u6210\u304c\u884c\u308f\u308c\u306a\u3044\u305f\u3081\u3001<span style=\"color: #ff0000\">coder.extrinsic \u95a2\u6570\u3067\u306e\u5916\u90e8\u95a2\u6570\u6307\u5b9a\u3092\u884c\u3046\u3053\u3068\u306a\u304f\u305d\u306e\u307e\u307e MATLAB \u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059<\/span>\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"979\" height=\"747\" class=\"alignnone size-full wp-image-2229\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/interpreted-1.png\" alt=\"\" \/><\/p>\n<p>\u53ef\u8996\u5316\u7528\u306e\u95a2\u6570\u3092\u4f5c\u6210\u3057\u3066\u305d\u308c\u3092\u30d6\u30ed\u30c3\u30af\u3067\u6307\u5b9a\u3059\u308b\u3060\u3051\u306a\u306e\u3067\u3001<span style=\"color: #ff0000\">\u975e\u5e38\u306b\u624b\u8efd\u306b\u4f7f\u3048\u308b<span style=\"color: #000000\">\u306e\u304c<\/span><\/span>\u30e1\u30ea\u30c3\u30c8\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u3061\u3087\u3063\u3068\u3057\u305f\u53ef\u8996\u5316\u3084\u52d5\u304d\u306e\u30c6\u30b9\u30c8\u3092\u884c\u3046\u5834\u5408\u306f\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001Interpreted MATLAB Function \u30d6\u30ed\u30c3\u30af\u306b\u306f\u300c\u5165\u529b\u306f double \u578b\u306e\u30b9\u30ab\u30e9\u3001\u30d9\u30af\u30c8\u30eb\u3001\u884c\u5217\u306e\u307f\u300d\u3068\u3044\u3046\u3001<span style=\"color: #ff0000\">\u5165\u529b\u4fe1\u53f7\u306b\u5bfe\u3059\u308b\u5927\u304d\u306a\u5236\u7d04\u304c\u3042\u308a\u307e\u3059<\/span>\u3002\u4ed6\u306e\u30c7\u30fc\u30bf\u578b\u3084 Bus \u4fe1\u53f7\u306f\u5bfe\u5fdc\u3057\u3066\u306a\u3044\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<span style=\"color: #ff0000\">\u4f55\u304b\u3057\u3089\u306e\u51fa\u529b\u4fe1\u53f7\u304c\u5fc5\u8981<\/span>\u306a\u306e\u3067\u3001\u63cf\u753b\u3060\u3051\u884c\u3044\u305f\u3044\u3068\u3044\u3046\u5834\u5408\u306f\u3001\u9069\u5f53\u306a\u30c0\u30df\u30fc\u5024\u3092\u51fa\u529b\u3057\u3066 Terminator \u30d6\u30ed\u30c3\u30af\u306b\u63a5\u7d9a\u3059\u308b\u3001\u3068\u3044\u3063\u305f\u5de5\u592b\u304c\u5fc5\u8981\u3067\u3059\uff08\u4e0a\u306e\u753b\u50cf\u3092\u53c2\u7167\uff09\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/ug\/what-is-matlab-system-block.html\">MATLAB System \u30d6\u30ed\u30c3\u30af<\/a><\/h2>\n<p>\u3053\u3061\u3089\u306f MATLAB \u306e System object \u3092\u30e2\u30c7\u30eb\u4e0a\u3067\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u901a\u5e38\u306f\u4fe1\u53f7\u51e6\u7406\u3084\u901a\u4fe1\u30b7\u30b9\u30c6\u30e0\u7b49\u306e\u72b6\u614b\u91cf\u4fdd\u6301\u304c\u5fc5\u8981\u3068\u306a\u308b\u30e2\u30c7\u30eb\u3067\u4f7f\u7528\u3059\u308b\u30d6\u30ed\u30c3\u30af\u3067\u3059\u304c\u3001\u500b\u4eba\u7684\u306b\u53ef\u8996\u5316\u3092\u884c\u3046\u969b\u306b\u4fbf\u5229\u3060\u3063\u305f\u7d4c\u9a13\u304c\u3042\u308b\u306e\u3067\u3001\u4e0a\u8a18 2 \u3064\u306e\u30d6\u30ed\u30c3\u30af\u3068\u5408\u308f\u305b\u3066\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>MATLAB System \u30d6\u30ed\u30c3\u30af\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f MATLAB Function \u30d6\u30ed\u30c3\u30af\u540c\u69d8\u30b3\u30fc\u30c9\u751f\u6210\u304c\u884c\u308f\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u300c\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u5b9f\u884c\u65b9\u6cd5\u300d\u3092\u300c\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u30fc\u578b\u5b9f\u884c\u300d\u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001Interpreted MATLAB Function \u30d6\u30ed\u30c3\u30af\u3068\u540c\u69d8\u306bMATLAB \u4e0a\u3067\u51e6\u7406\u304c\u5b9f\u884c\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u751f\u6210\u975e\u5bfe\u5fdc\u306e\u95a2\u6570\u3082\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>MATLAB System \u30d6\u30ed\u30c3\u30af\u3068\u4e0a\u8a18 2 \u3064\u306e\u30d6\u30ed\u30c3\u30af\u306e\u6700\u5927\u306e\u9055\u3044\u306f\u3001<span style=\"color: #ff0000\">\u30d7\u30ed\u30d1\u30c6\u30a3\uff08\u5185\u90e8\u30c7\u30fc\u30bf\uff09\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u308b<\/span>\u70b9\u3067\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001(Interpreted) MATLAB Function \u30d6\u30ed\u30c3\u30af\u3067\u30c7\u30fc\u30bf\u70b9\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\u3088\u3046\u306a\u51e6\u7406\u3092\u66f8\u3053\u3046\u3068\u3057\u305f\u5834\u5408\u3001\u524d\u8ff0\u306e\u901a\u308a\u6c38\u7d9a\u5909\u6570\u306b\u30d7\u30ed\u30c3\u30c8\u306e\u30cf\u30f3\u30c9\u30eb\u3092\u683c\u7d0d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u306b\u5bfe\u3057\u3001MATLAB System \u30d6\u30ed\u30c3\u30af\u3067\u306f\u6c38\u7d9a\u5909\u6570\u3092\u4f7f\u308f\u306a\u304f\u3066\u3082\u5185\u90e8\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u30d7\u30ed\u30c3\u30c8\u306e\u30cf\u30f3\u30c9\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u306f\u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3054\u3068\u306b\u30ea\u30bb\u30c3\u30c8\u3055\u308c\u308b\u306e\u3067\u3001\u308f\u3056\u308f\u3056\u00a0clear \u95a2\u6570\u3067\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" width=\"981\" height=\"746\" class=\"alignnone size-full wp-image-2225\" src=\"https:\/\/blogs.mathworks.com\/japan-community\/files\/2020\/10\/systemObject-1.png\" alt=\"\" \/><\/p>\n<p>\u305f\u3060\u3057\u3001System object \u3092\u4f5c\u308b\u5fc5\u8981\u304c\u3042\u308b\u95a2\u4fc2\u4e0a\u3001\u3042\u308b\u7a0b\u5ea6\u306e <span style=\"color: #ff0000\">System object \u306b\u95a2\u3059\u308b\u77e5\u8b58\u304c\u5fc5\u8981\u3068\u306a\u308b<\/span>\u306e\u3067\u3001\u6163\u308c\u3066\u306a\u3044\u65b9\u306b\u306f\u5c11\u3057\u30cf\u30fc\u30c9\u30eb\u304c\u9ad8\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1><span style=\"color: #ff6600\">\u305d\u306e\u4ed6\u306e\u53ef\u8996\u5316\u65b9\u6cd5<\/span><\/h1>\n<p>\u4e0a\u8ff0\u3057\u305fSimulink\u306e\u6a19\u6e96\u6a5f\u80fd\u304a\u3088\u3073 MATLAB \u95a2\u6570\u3092\u4f7f\u3046\u4ee5\u5916\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3082\u7c21\u5358\u306b\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2>\u30fb\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u6a5f\u80fd\u3092\u4f7f\u3063\u305f\u53ef\u8996\u5316<\/h2>\n<p>\u3061\u3087\u3063\u3068\u30de\u30a4\u30ca\u30fc\u306a\u65b9\u6cd5\u3067\u3059\u304c\u3001\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3082\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u3068\u306f\u3001\u300c\u7279\u5b9a\u306e\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u306b\u767b\u9332\u3057\u3066\u304a\u3044\u305f\u95a2\u6570\u3092\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3059\u308b\u300d\u6a5f\u80fd\u306e\u3053\u3068\u3067\u3059\u3002Simulink \u306b\u306f <a href=\"https:\/\/jp.mathworks.com\/help\/simulink\/slref\/add_exec_event_listener.html\">add_exec_event_listener<\/a> \u3068\u3044\u3046\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u304a\u308a\u3001\u30e2\u30c7\u30eb\u4e0a\u306e\u7279\u5b9a\u306e\u30d6\u30ed\u30c3\u30af\u304c\u5b9f\u884c\u3055\u308c\u305f\u3068\u304d\u306b\u3001\u7279\u5b9a\u306e\u95a2\u6570\u3092\u81ea\u52d5\u7684\u306b\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u6b8b\u5ff5\u306a\u304c\u3089\u3001\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u30fc\u306e\u6a5f\u80fd\u306e\u4f7f\u3044\u65b9\u3092\u3053\u3053\u3067\u8a73\u7d30\u306b\u8aac\u660e\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u305d\u308c\u3060\u3051\u3067\u7d50\u69cb\u306a\u30dc\u30ea\u30e5\u30fc\u30e0\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u305f\u3081\u3001\u3053\u3053\u3067\u306f\u7d39\u4ecb\u306e\u307f\u3068\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002\u8a73\u7d30\u306f<a href=\"https:\/\/jp.mathworks.com\/matlabcentral\/answers\/446302-how-do-i-update-a-gui-designed-in-app-designer-with-data-from-a-running-simulink-model\">\u3053\u3061\u3089\u306e\u4f8b<\/a>\u304c\u3068\u3066\u3082\u308f\u304b\u308a\u3084\u3059\u3044\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u8208\u5473\u3042\u308b\u65b9\u306f\u305c\u3072\u3054\u53c2\u8003\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"color: #000000\">\u30fb\u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306e\u5c02\u7528\u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u3063\u305f\u53ef\u8996\u5316<\/span><\/h2>\n<p>\u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306e\u4e2d\u306b\u306f\u30e2\u30c7\u30eb\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u306b\u4f7f\u3048\u308b\u30d6\u30ed\u30c3\u30af\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070 DSP System Toolbox \u306e\u00a0<a href=\"https:\/\/jp.mathworks.com\/help\/dsp\/ref\/spectrumanalyzer.html\">Spectrum Analyzer<\/a>\u00a0\u30d6\u30ed\u30c3\u30af\u3084 Computer Vision Toolbox \u306e\u00a0<a href=\"https:\/\/jp.mathworks.com\/help\/vision\/ref\/videoviewer.html\">Video Viewer<\/a>\u00a0\u30d6\u30ed\u30c3\u30af\u306a\u3069\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u5404\u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306b\u3069\u3093\u306a\u30d6\u30ed\u30c3\u30af\u304c\u3042\u308b\u304b\u306b\u3064\u3044\u3066\u306f\u6319\u3052\u59cb\u3081\u308b\u3068\u30ad\u30ea\u304c\u306a\u3044\u306e\u3067\u3001\u6c17\u306b\u306a\u308b\u65b9\u306f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u5de6\u306e\u300c\u30ab\u30c6\u30b4\u30ea\u300d\u304b\u3089\u30c4\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u3092\u9078\u3073\u3001\u4e0a\u90e8\u30e1\u30cb\u30e5\u30fc\u306e\u300c\u30d6\u30ed\u30c3\u30af\u300d\u304b\u3089\u30d6\u30ed\u30c3\u30af\u30ea\u30b9\u30c8\u3092\u3054\u78ba\u8a8d\u3044\u305f\u3060\u3051\u308c\u3070\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h1><span style=\"color: #ff6600\">\u304a\u308f\u308a\u306b<\/span><\/h1>\n<p>\u4eca\u56de\u306f Simulink \u30e2\u30c7\u30eb\u306e\u5b9f\u884c\u4e2d\u306e\u53ef\u8996\u5316\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>Scope \u30d6\u30ed\u30c3\u30af\u3060\u3051\u3067\u306f\u308f\u304b\u308a\u3065\u3089\u3044\u3068\u3044\u3046\u5834\u5408\u306f\u3001\u5c02\u7528\u306e\u30d6\u30ed\u30c3\u30af\u3084 MATLAB \u30b3\u30fc\u30c9\u306e\u529b\u3092\u501f\u308a\u308b\u3053\u3068\u3067\u3088\u308a\u308f\u304b\u308a\u3084\u3059\u3044\u5f62\u306b\u53ef\u8996\u5316\u3067\u304d\u3001\u30e2\u30c7\u30eb\u306e\u958b\u767a\u3001\u691c\u8a3c\u3092\u52b9\u7387\u3088\u304f\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\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\/2020\/10\/scopeInit.gif\" onError=\"this.style.display ='none';\" \/><\/div>\n<p>\u3053\u3093\u306b\u3061\u306f\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u9060\u85e4\u3068\u7533\u3057\u307e\u3059\u3002<br \/>\n\u524d\u56de\u306e\u6295\u7a3f\u306f 5\/14 \u3068\u3044\u3046\u3053\u3068\u3067\u3001\u306a\u3093\u3068 5 \u30f6\u6708\u3076\u308a\u306e\u6295\u7a3f\u3067\u3059\u3002\u6642\u304c\u7d4c\u3064\u306e\u306f\u65e9\u3044\u3082\u306e\u3067\u3059\u306d\u2026\u2026\u3002<br \/>\n\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u300cSimulink \u3068 MATLAB \u3092\u3064\u306a\u3050\u300d\u3092\u30b3\u30f3\u30bb\u30d7\u30c8\u3068\u3057\u3066\u3001\u300cSimulink API\u300d\u3084\u300cApp Designer \u3068 Simulink \u306e\u9023\u643a\u65b9\u6cd5\u300d\u306b\u3064\u3044\u3066\u66f8\u3044\u3066\u304d\u307e\u3057\u305f\u3002<br \/>\n\u4eca\u56de\u306f\u3001Simulink \u306e\u30e2\u30c7\u30eb\u5185\u3067&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/japan-community\/2020\/10\/29\/simulink-online-display\/\">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":[65],"tags":[67,69,71],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/2195"}],"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=2195"}],"version-history":[{"count":32,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/2195\/revisions"}],"predecessor-version":[{"id":6758,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/posts\/2195\/revisions\/6758"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/media?parent=2195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/categories?post=2195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/japan-community\/wp-json\/wp\/v2\/tags?post=2195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}