Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Maplets[Examples][GetFile] - ユーザがファイルの選択を行える maplet の表示
使い方
GetFile(opts)
パラメータ
opts - option=value の形の等式; ここで option は approvecaption, filefilter, filterdescription または title のいずれか; maplet のためのオプション指定
説明
GetFile(opts) コマンドは、ユーザがファイルの選択を行える、ファイルダイアログを表示します。選択されたファイルを表す文字列が、値として返されます。ファイルが選択されないと、プログラムは異議を唱えます。
GetFile sample maplet worksheet に、Maplets[Elements] パッケージを用いてこのルーチンと同様の動作を行う maplet を書く方法について、記述されています。
opts 引数は、maplet のオプションを設定する、1つまたは複数の以下の等式を含みます。
approvecaption = string または symbol
ファイルを選択するためにクリックされるボタンの上に現れるテキスト。デフォルトの値は、Open です。
filefilter = string または symbol
表示するファイルの拡張子。デフォルトの値は、全てのファイルを表示するという意味の、"*" です。例えば "mws", "m" または "mpl" といった、他の拡張子も使用が可能です。
filterdescription = string または symbol
filefilter の記述。デフォルトの値は、オプション filefilter の値です。
title = string または symbol
maplet のタイトルの指定。デフォルトのタイトルは、Get File です。
例
with(Maplets[Examples]): GetFile('title' = "Get File");
"/user/maple/maple.lib"
参照
GetFile Sample Maplet, Maplets パッケージの概要, Maplets[Elements] パッケージの紹介, Maplets[Elements][FileDialog], Maplets[Examples] パッケージの紹介
Download Help Document