Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
Maple のコマンドラインにおける Maplet アプリケーションの作成および表示
Mapletアプリケーションの作成および表示を行う際に、Maple のコマンドライン版を使用することが可能です。
説明
コマンドライン版で Maplet アプリケーションを使用するためには、Maple のコードと同じように、Maple のプロンプトに対して Mapletアプリケーションのコードを入力します。
代わりに、テキストエディタを用いて Maplet アプリケーションの定義をテキストファイルに入力する方法もあります。このテキストファイルは、拡張子 .mpl で保存して下さい。
ご利用のオペレーティングシステムに依り、つぎの方法で .mpl ファイルを実行することができます。
* ファイルブラウザでこの .mpl ファイルをダブルクリックします。 あるいは、
* コマンドラインで、引数として maple と filename を入力します。
Maple のコードが、コマンドライン版の Maple で実行されます。Maplet[Display] コマンドによる指定が Maplet アプリケーションの定義に含まれていると、それにより表示が行われます。
例
次の Maplet アプリケーションコードをユーザのコマンドラインセッションにコピーします。そして ENTER を押して下さい。
with(Maplets[Elements]): maplet := Maplet([ "Click a Button:", [Button("OK", Shutdown("true")), Button("Cancel", Shutdown())] ]): result := Maplets[Display](maplet);
次の例を、.mpl ファイルに保存します。 ファイルブラウザで、作成した .mpl ファイルをダブルクリックして下さい。
use Maplets in use Elements in maplet := Maplet( Window( 'title' = "Hilbert Matrix", [ ["Dimension: ", TextField['TB1']( "10" )], ["Target format: ", DropDownBox['DDB1']( ["Matlab", "MatrixMarket", "delimited"] )], ["File name:", TextField['TB2']( "hilmat" )], [ Button( "OK", Shutdown(['TB1', 'DDB1', 'TB2']) ), Button( "Cancel", Shutdown() ) ] ] ) ); end use; result := Display( maplet ); end use: if result <> [] and result[3] <> "" then try n := parse( result[1] ); catch: end try; if type( n, 'integer' ) then ExportMatrix( result[3], LinearAlgebra:-HilbertMatrix( n, outputoptions=[ 'datatype'=float[8]] ), 'target' = convert( result[2], 'symbol' ) ); end if; end if:
参照
Maplets, Maplets[Display], Maplets[Elements], Maplets[Examples], Maplets[Tools]
Download Help Document