<< Chapter < Page Chapter >> Page >
Mathcad đưa ra những thành phần tiện ích để hoán chuyển dữ liệu giữa Mathcad và các trình ứng dụng khác như: Excel, Axum, Mathlab,… những thành phần này liên hệ với nhau thông qua công thức toán học trong Mathcad. Thành phần này tạo tính liên tục của các dữ liệu giữa bảng tính Mathcad và nguồn dữ liệu hoặc trình ứng dụng khác. Mặc dù những thành phần được dùng trong Mathcad bị hạn chế, nhưng còn có những thành phần bổ sung khác được dùng trong MathConnex.

Đôi nét về thành phần

Những thành phần (Components) cho phép dữ liệu lưu động giữa bảng tính Mathcad và các nguồn dữ liệu hoặc trình ứng dụng khác. Dữ liệu đưa vào thành phần từ Mathcad được gọi là nhập (input). Dữ liệu đưa ra khỏi thành phần được gọi là xuất (output). Thành phần nhập và xuất được chuyển giữa bảng tính Mathcad và thành phần theo phương cách Mathcad nhập và xuất các tham số.

Những bước cơ bản áp dụng vào thành phần để hoán chuyển dữ liệu với Mathcad như sau:

 Chèn thành phần và chỉ định các tham số nhập và xuất vào khung nhập dữ liệu trống.

 Cấu hình thành phần để chúng biết những gì phải thực hiện với đối tượng nhập và những gì phải thực hiện với đối tượng xuất.

 Do có một số thành phần chỉ nhận riêng đối tượng nhập hoặc xuất, những bước này hơi khác một chút đối với các thành phần.

Sau khi đã chèn thành phần vào bảng tính Mathcad, điền vào các khung nhập số liệu trống và cấu hình các thuộc tính, kích chuột vào vị trí bất kỳ trong vùng đối tượng. Ngay điểm này, dữ liệu hoán chuyển sẽ thay thế. Những thành phần sau đây được dùng trong Mathcad:

 Axum

 File Read/Write, dùng để đọc và ghi các tập tin dữ liệu

 Exel

 MATLAB

 Scriptable Object

Đọc dữ liệu

Bạn có thể đưa dữ liệu vào Mathcad bằng cách du nhập chúng từ tập tin, đọc từ tập tin hoặc dán từ Clipboard. Những phương pháp này luộn luôn tạo các mảng dữ liệu. Bạn cũng có thể nhập dữ liệu vào bảng số liệu nhập (input table) hoặc mảng.

Đọc dữ liệu từ tập tin dữ liệu

Khi muốn đọc dữ liệu từ tập tin dữ liệu trong Mathcad, có thể dùng thành phần File Read/Write. Thành phần File Read/Write cho phép thực hiện việc nối với tập tin dữ liệu, đọc dữ liệu và gán dữ liệu vào tham số của Mathcad. Dữ liệu sẽ tự động cập nhật trong Mathcad khi chúng được thay đổi trong tập tin dữ liệu.

Muốn đọc dữ liệu từ tập tin dữ liệu qua cách dùng thành phần File Read/Write

 Kích vào vùng trống trong bảng tính.

 Từ thanh menu: nhấn Insert/Component (hoặc từ thanh công cụ : nhắp vào biểu tượng ), xuất hiện hộp thoại Component Wizard (hình 8.1).

 Từ hộp thoại Component Wizard chọn File Read or Write và chọn , xuất hiện hộp thoại File Read or Write Wizard (hình 8.2).

Hình 8.1. Hộp thoại ComponentWizard

Hình 8.2.File Read or Write Wizard

 Chọn Read from a file và kích vào nút , xuất hiện hộp thoại Wizard (hình 3).

Hình 8.3.Wizard

  • Từ danh sách (hình 8.3) chọn loại tập tin muốn đọc và nhập đường dẫn tập tin muốn đọc hoặc kích vào nút để tìm vị trí tập tin muốn đọc.

 Kích vào nút xuất hiện biểu tượng thành phần File Read or Write và được dẫn trong tập tin dữ liệu (hình 8.4).

Questions & Answers

how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
what is inflammation
Shelly Reply
part of a tissue or an organ being wounded or bruised.
Wilfred
what term is used to name and classify microorganisms?
Micheal Reply
Binomial nomenclature
adeolu
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Bài giảng môn học mathcad. OpenStax CNX. Jul 29, 2009 Download for free at http://cnx.org/content/col10744/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Bài giảng môn học mathcad' conversation and receive update notifications?

Ask