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
FileTools パッケージの概要
使い方
FileTools[コマンド](引数)
コマンド(引数)
説明
FileTools パッケージは操作ユーティリティの集まりで 2 つのサブモジュールが含まれています。
- Text モジュールにはテキストファイル専用コマンドが含まれています。
- Binary モジュールにはバイナリデータファイル用のコマンドが含まれています。
FileTools モジュールには、以下のいずれかの種類のファイルで使用できるコマンドも含まれています。
バイナリデータに該当しない特定の書式概念を持つテキストファイル (罫線や改行文字など)。さらに、文字を使用して表現されるテキストファイル内のデータもこれに含まれます。Maple では、内部的な表現は文字列に変換され、その後で書き込まれます。詳細については、Text モジュールのヘルプページを参照してください。
バイナリファイルのデータはバイナリ表現を用いてディスクに書き込まれます。これは、現時点でハードウェアデータ型、整数、浮動小数点のみ Binary モジュールを使用して記述可能であることを意味します。詳細については、Binary モジュールのヘルプページを参照してください。
FileTools パッケージの各コマンドは、コマンドの呼び出し列にコマンド名の 長文形 または 短縮文 を使用してアクセスすることができます。
FileTools パッケージが実装される土台となるのがモジュールであることから、パッケージのコマンドにアクセスするのに、FileTools:-コマンド の形式が使用されることもあります。詳細については、モジュールのメンバー を参照してください。
FileTools パッケージのコマンド一覧
AbsolutePath
AtEndOfFile
Copy
Exists
Filename
Flush
IsDirectory
IsExecutable
IsLockable
IsOpen
IsReadable
IsWritable
ListDirectory
Lock
MakeDirectory
ModificationTime
ParentDirectory
Position
Remove
Rename
Size
Status
TemporaryFilename
Unlock
FileTools[Text] モジュールのコマンド一覧
Close
CountCharacters
CountFloats
CountIntegers
CountLines
Open
OpenTemporaryFile
ReadCharacter
ReadFile
ReadFloat
ReadInteger
ReadLine
ReadNextFloat
ReadNextInteger
ReadString
WriteCharacter
WriteFloat
WriteInteger
WriteLine
WriteString
FileTools[Binary] モジュールのコマンド一覧
CountBytes
Read
Write
特定の FileTools コマンドのヘルプページを表示するには、パッケージのコマンドのヘルプを利用する を参照してください。
参照
examples/FileTools, FileTools[Binary], FileTools[Text], help, module, symbol, UsingPackages, with
Download Help Document