{"id":410,"date":"2018-08-15T23:08:13","date_gmt":"2018-08-15T15:08:13","guid":{"rendered":"https:\/\/mmaqa.com\/blog\/?p=410"},"modified":"2018-11-20T23:45:45","modified_gmt":"2018-11-20T15:45:45","slug":"%e4%bd%93%e9%aa%8cmathematica11-3%e7%9a%84%e8%81%8a%e5%a4%a9%e5%8a%9f%e8%83%bd%e4%b8%8e%e4%bf%a1%e9%81%93%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/mmaqa.com\/blog\/410\/2018\/08\/15\/%e4%bd%93%e9%aa%8cmathematica11-3%e7%9a%84%e8%81%8a%e5%a4%a9%e5%8a%9f%e8%83%bd%e4%b8%8e%e4%bf%a1%e9%81%93%e5%8a%9f%e8%83%bd\/","title":{"rendered":"\u3010\u4f53\u9a8c\u3011Mathematica11.3\u7684\u804a\u5929\u529f\u80fd\u4e0e\u4fe1\u9053\u529f\u80fd"},"content":{"rendered":"<div id=\"toc_container\" class=\"no_bullets\"><p class=\"toc_title\">\u6587\u7ae0\u76ee\u5f55<\/p><ul class=\"toc_list\"><li><a href=\"#1\">1. \u804a\u5929\u529f\u80fd<\/a><\/li><li><a href=\"#11\">1.1 \u804a\u5929\u529f\u80fd\u7b80\u4ecb<\/a><\/li><li><a href=\"#12\">1.2. \u4f7f\u7528\u4ecb\u7ecd<\/a><\/li><li><a href=\"#2_Mathematica\">2. \u4f7f\u7528 Mathematica \u7684\u4fe1\u9053\u529f\u80fd<\/a><ul><li><a href=\"#21_True\">2.1 \u5c06\u5141\u8bb8\u5916\u90e8\u4fe1\u9053\u53d8\u91cf\u8bbe\u7f6e\u4e3aTrue<\/a><\/li><li><a href=\"#22\">2.2 \u521b\u5efa\u4fe1\u9053<\/a><\/li><li><a href=\"#23\">2.3 \u76d1\u542c\u4fe1\u9053<\/a><\/li><li><a href=\"#24\">2.4 \u5411\u4fe1\u9053\u53d1\u6d88\u606f<\/a><\/li><li><a href=\"#25\">2.5 \u5220\u9664\u4fe1\u9053<\/a><\/li><\/ul><\/li><\/ul><\/div>\n<h1><span id=\"1\">1. \u804a\u5929\u529f\u80fd<\/span><\/h1>\n<h1><span id=\"11\">1.1 \u804a\u5929\u529f\u80fd\u7b80\u4ecb<\/span><\/h1>\n<p>Mathematica 11.3 \u65b0\u589e\u4e86\u804a\u5929\u529f\u80fd\uff0c\u8fd9\u8ba9\u5708\u5185\u7684\u5c0f\u4f19\u4f34\u4eec\u53ef\u4ee5\u66f4\u65b9\u4fbf\u7684\u4ea4\u6d41\u3002\u5176\u7279\u70b9\u4e3b\u8981\u4f53\u73b0\u5728\u4ee5\u4e0b\u51e0\u65b9\u9762\uff1a<\/p>\n<ul>\n<li>\u652f\u6301\u591a\u4eba\u804a\u5929<\/li>\n<li>\u53ef\u4ee5\u53d1\u9001 Mathematica \u7a0b\u5e8f\u7684\u8fd0\u884c\u7ed3\u679c<\/li>\n<li>\u81ea\u52a8\u4fdd\u5b58\u597d\u53cbID<\/li>\n<\/ul>\n<h1><span id=\"12\">1.2. \u4f7f\u7528\u4ecb\u7ecd<\/span><\/h1>\n<p>\u64cd\u4f5c\u5f88\u7b80\u5355\uff0c\u4e0b\u9762\u76f4\u63a5\u4e0a\u56fe\u8bf4\u660e\uff1a<\/p>\n<p><strong>\u2460 \u7f16\u8f91 &gt; \u504f\u597d\u8bbe\u7f6e &gt; \u670d\u52a1<\/strong>(Edit &gt; Preferences &gt; Services)<br \/>\n<center><br \/>\n<a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000420.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000420-279x300.png\" alt=\"\"><\/a><br \/>\n\uff08\u63d0\u793a\uff1a\u70b9\u51fb\u56fe\u7247\u53ef\u770b\u5927\u56fe\uff0c\u4e0b\u540c\uff09<br \/>\n<\/center><\/p>\n<p><strong>\u2461 \u7a97\u53e3 &gt; \u804a\u5929\u8bbe\u7f6e<\/strong>(Window &gt; Chat Settings)<br \/>\n\u8f93\u5165\u81ea\u5df1\u7684\u6635\u79f0\uff0c\u542f\u7528\u804a\u5929\u670d\u52a1\u5e76\u63a5\u53d7\u9080\u8bf7\u3002<br \/>\n<center><br \/>\n<a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000523.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000523-300x118.png\" alt=\"\"><\/a><br \/>\n<a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000550.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000550-300x226.png\" alt=\"\"><\/a><br \/>\n<\/center><br \/>\n<strong>\u2462 \u7f16\u8f91 &gt; \u504f\u597d\u8bbe\u7f6e &gt; \u7f51\u7edc\u4e0e\u90ae\u4ef6 &gt; \u4ee3\u7406\u670d\u52a1\u5668\u8bbe\u5b9a<\/strong>(Edit &gt; Preferences &gt; Internet &amp; Mail &gt; Proxy Settings)<br \/>\n\u672c\u6b65\u4e3a\u53ef\u9009\u64cd\u4f5c\uff0c\u89c6\u60a8\u7684\u7f51\u7edc\u800c\u5b9a\u3002<br \/>\n<center><br \/>\n<a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000639.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000639-279x300.png\" alt=\"\"><\/a><br \/>\n<\/center><\/p>\n<p><strong>\u2463 \u6587\u4ef6 &gt; \u65b0\u5efa &gt; \u804a\u5929<\/strong>(File &gt; New &gt; Chat)<br \/>\n\u5728\u8054\u7cfb\u4eba\u4e00\u680f\u8f93\u5165\u5bf9\u65b9\u7684ID\uff08\u4e00\u822c\u4e3a\u90ae\u7bb1\u5730\u5740\uff09\u5373\u53ef\u3002<br \/>\n<center><\/p>\n<p><a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000743.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505000743-300x247.png\" alt=\"\"><\/a><\/p>\n<p><a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505001100.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/TIM%E5%9B%BE%E7%89%8720180505001100-300x221.png\" alt=\"\"><\/a><\/p>\n<p><a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/z1.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/z1-207x300.png\" alt=\"\"><\/a><\/p>\n<p><\/center><\/p>\n<p><strong>\u2464 \u6dfb\u52a0\u53c2\u4e0e\u8005<\/strong>(File &gt; New &gt; Chat)<\/p>\n<p><center><\/p>\n<p><a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/z2.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/z2-300x126.png\" alt=\"\"><\/a><\/p>\n<p><a href=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/z3.png\"><img src=\"https:\/\/mmaqa.com\/blog\/wp-content\/uploads\/2018\/08\/z3-300x200.png\" alt=\"\"><\/a><\/p>\n<p><\/center><\/p>\n<h1><span id=\"2_Mathematica\">2. \u4f7f\u7528 Mathematica \u7684\u4fe1\u9053\u529f\u80fd<\/span><\/h1>\n<h2><span id=\"21_True\">2.1 \u5c06\u5141\u8bb8\u5916\u90e8\u4fe1\u9053\u53d8\u91cf\u8bbe\u7f6e\u4e3aTrue<\/span><\/h2>\n<pre><code class=\"language-mathematica \">Unprotect[$AllowExternalChannelFunctions]\n$AllowExternalChannelFunctions = True\nProtect[$AllowExternalChannelFunctions]\n<\/code><\/pre>\n<h2><span id=\"22\">2.2 \u521b\u5efa\u4fe1\u9053<\/span><\/h2>\n<pre><code class=\"language-mathematica \">(*\u521b\u5efa\u4fe1\u9053*)\nchannel = CreateChannel[\"lix\"];\n(*ChannelObject[\"https:\/\/channelbroker.wolframcloud.com\/users\/lixuan159@gmail.com\/lix\"]*)\n\n(*\u516c\u5f00\u4fe1\u9053*)\nSetOptions[channel, Permissions -&gt; \"Public\"];\n<\/code><\/pre>\n<h2><span id=\"23\">2.3 \u76d1\u542c\u4fe1\u9053<\/span><\/h2>\n<pre><code class=\"language-mathematica \">(*\u76d1\u542c\u4fe1\u9053*)\nlistener = ChannelListen[channel];\n\n(*\u63a5\u6536\u6765\u81ea\u4fe1\u9053\u7684\u4fe1\u606f*)\nDynamic[listener[\"Message\"]]\n<\/code><\/pre>\n<h2><span id=\"24\">2.4 \u5411\u4fe1\u9053\u53d1\u6d88\u606f<\/span><\/h2>\n<pre><code class=\"language-mathematica \">(*\u5411\u4fe1\u9053\u53d1\u6d88\u606f*)\nChannelSend[channel, \"Hello World\"]\n<\/code><\/pre>\n<h2><span id=\"25\">2.5 \u5220\u9664\u4fe1\u9053<\/span><\/h2>\n<pre><code class=\"language-mathematica \">(*\u79fb\u9664\u76d1\u542c\u5668*)\nRemoveChannelListener[listener];\n\n(*\u5220\u9664\u4fe1\u9053*)\nDeleteChannel[channel]\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u76ee\u5f551. \u804a\u5929\u529f\u80fd1.1 \u804a\u5929\u529f\u80fd\u7b80\u4ecb1.2. \u4f7f\u7528\u4ecb\u7ecd2. \u4f7f\u7528 Mathematica \u7684\u4fe1\u9053\u529f\u80fd2. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":419,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"\u65e5\u5fd7\u5934\u56fe":"","bigfa_ding":"0","\u6253\u8d4f":""},"categories":[19],"tags":[15],"_links":{"self":[{"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/posts\/410"}],"collection":[{"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/comments?post=410"}],"version-history":[{"count":0,"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/posts\/410\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/media\/419"}],"wp:attachment":[{"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/media?parent=410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/categories?post=410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mmaqa.com\/blog\/wp-json\/wp\/v2\/tags?post=410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}