Mathematica Technical FAQs Services & Resources / Mathematica / Packages
-----
 /
Writing
*Mathematica
*Network Mathematica
*webMathematica
*gridMathematica
*Personal Grid Edition
*Wolfram Workbench
*Wolfram Education Group
*Application Packages
*Mathematica for Students
*Mathematica CalcCenter
*Publicon
*A New Kind of Science Explorer
*Mathematical Explorer
*Mathematica Teacher's Edition
*Calculus WIZ
*Mathematica Player
*Ask about this page
*Print this page
*Email this page
*Give us feedback
*
Sign up for our newsletter:

패키지를 만드는 방법은?

패키지 (package) 는 주로 아래의 3가지 방법을 이용해 만듭니다.

1.

ASCII/Text 에디터

 

패키지는 아스키 (ASCII) 나 텍스트 (Text) 파일들인데 매쓰매티카 InputForm 명령어를 포함하고 있습니다. 주석 (comments) 은 (**) 으로 둘러 싸여서 사용됩니다.

2.

매쓰매티카 메뉴 명령 File > Save As Special > Package Format

 

이 명령은 노트북을 패키지 형식으로 저장합니다. 모든 initialization 셀인 입력셀들이 패키지에 포함됩니다. 다른 셀틀은 주석의 형식으로 저장됩니다. Initialization 셀은 아래와 같이 지정할수 있습니다.

 

Cell > Cell Properties > Initialization Cell

 

Format > Option Inspector 를 이용할수도 있습니다. 아래의 FAQ 를 보면 Option Inspector 대한 자세한 설명이 나옵니다.

 

http://support.wolfram.com/mathematica/interface/options/inspector.html

 

Option Inspector 의 옵션은 아래와 같이 설정할 수 있습니다.

 

Cell Options > Evaluation Options > Initialization Cell > True

3.

자동저장 (AutoSave package)

 

노트북의 initialization 셀들을 저장할때 매쓰매티카는 AutoSave package 를 만들지 아래의 두가의 옵션의 셋팅에 따라 물어옵니다.

 

Notebook Options > Evaluation Options > InitializationCellWarning

 

Notebook Options > Evaluation Options > InitializationCellEvaluation

 

AutoSave package 가 만들어지면 모든 initialization 셀들은 패키지에 포함됩니다. 다른 셀들은 제외됩니다. 특별한 헤더는 패키지의 처음에 포함됩니다 .

Download this FAQ as a Mathematica 5.2 Notebook






 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [en] [ja]