The Role of Scope, Precedence, and Overloading When Creating a Functio การแปล - The Role of Scope, Precedence, and Overloading When Creating a Functio ไทย วิธีการพูด

The Role of Scope, Precedence, and

The Role of Scope, Precedence, and Overloading When Creating a Function Handle
At the time you create a function handle, MATLAB must decide exactly which function it is to associate the handle to. In doing so, MATLAB uses the same rules used to determine which file to invoke when you make a function call. To make this determination, MATLAB considers the following:

Scope — The function named must be on the MATLAB path at the time the handle is constructed.
Precedence — MATLAB selects which function(s) to associate the handle with, according to the function precedence rules described under Determining Which Function Gets Called.
Overloading — If additional files on the path overload the function for any of the fundamental MATLAB classes, such as double or char, then MATLAB associates the handle with these files, as well.
Program files that overload a function for classes other than the standard MATLAB classes are not associated with the function handle at the time it is constructed. Function handles do operate on these types of overloaded functions, but MATLAB determines which implementation to call at the time of evaluation in this case.

0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
บทบาทขอบเขต ความสำคัญ และ Overloading เมื่อสร้างฟังก์ชันจัดการ
เมื่อคุณสร้างหมายเลขอ้างอิงฟังก์ชัน MATLAB ต้องตัดสินใจว่า ฟังก์ชันใดเป็นหมายเลขอ้างอิงการเชื่อมโยง MATLAB ใช้กฎเดียวกันที่ใช้ในการกำหนดไฟล์ที่จะเรียกใช้เมื่อคุณทำเรียกฟังก์ชันในการทำเช่นนั้น จะทำให้เรื่องนี้ MATLAB พิจารณาต่อไปนี้:

ขอบเขตคือฟังก์ชันชื่อต้องอยู่บนเส้นทาง MATLAB เมื่อสร้างหมายเลขอ้างอิงการ
สำคัญ — MATLAB เลือกฟังก์ชันที่จะเชื่อมโยงหมายเลขอ้างอิงกับ ตามกฎก่อนฟังก์ชันที่อธิบายไว้ภายใต้กำหนดซึ่งฟังก์ชันรับ Called
Overloading — ถ้าฟังก์ชันของคลาพื้นฐานของ MATLAB โอเวอร์โหลดไฟล์เพิ่มเติมในเส้นทาง เช่นคู่ หรืออักขระ แล้ว MATLAB ร่วมหมายเลขอ้างอิงกับแฟ้มเหล่านี้ เป็น
แฟ้มโปรแกรมที่เรียนไม่ใช่เรียน MATLAB มาตรฐานฟังก์ชันการโอเวอร์โหลด ไม่เชื่อมโยงกับหมายเลขอ้างอิงฟังก์ชันในขณะมันถูกสร้างขึ้น จัดการฟังก์ชันมีชนิดเหล่านี้ของฟังก์ชันโอเวอร์โหลด แต่ MATLAB กำหนดที่ใช้เรียกเวลาประเมินในกรณีนี้

การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
The Role of Scope, Precedence, and Overloading When Creating a Function Handle
At the time you create a function handle, MATLAB must decide exactly which function it is to associate the handle to. In doing so, MATLAB uses the same rules used to determine which file to invoke when you make a function call. To make this determination, MATLAB considers the following:

Scope — The function named must be on the MATLAB path at the time the handle is constructed.
Precedence — MATLAB selects which function(s) to associate the handle with, according to the function precedence rules described under Determining Which Function Gets Called.
Overloading — If additional files on the path overload the function for any of the fundamental MATLAB classes, such as double or char, then MATLAB associates the handle with these files, as well.
Program files that overload a function for classes other than the standard MATLAB classes are not associated with the function handle at the time it is constructed. Function handles do operate on these types of overloaded functions, but MATLAB determines which implementation to call at the time of evaluation in this case.

การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
บทบาทของขอบเขต ความสําคัญและโหลดเมื่อสร้างฟังก์ชันจัดการ
ในเวลาที่คุณสร้างฟังก์ชันการจัดการ โปรแกรม ต้อง ตัดสินใจว่า หน้าที่ซึ่งจะเชื่อมโยงจัดการให้ ในการทำเช่นนั้น โปรแกรมใช้กฎเดียวกันที่ใช้ในการตรวจสอบไฟล์ที่สามารถเรียกใช้เมื่อคุณทำการเรียกใช้ฟังก์ชัน เพื่อให้ความมุ่งมั่นนี้ โปรแกรมจะพิจารณาต่อไปนี้ :

ขอบเขต - ฟังก์ชันชื่อต้องบน MATLAB เส้นทางในเวลาจับขึ้น .
เหนือ - Matlab เลือกฟังก์ชันใด ( s ) เพื่อเชื่อมโยงจัดการตามกฎที่กำหนดไว้ในฟังก์ชันเหล่านี้ ซึ่งการทำงานจะเรียกว่า
- ถ้าโหลดไฟล์เพิ่มเติมบนเส้นทางเกินฟังก์ชันใด ๆ เรียนโปรแกรมพื้นฐานเช่น คู่ หรือ ถ่านแล้ว ทางสมาคมที่จัดการกับไฟล์เหล่านี้ได้เป็นอย่างดี โปรแกรมแฟ้มที่ใช้ฟังก์ชัน
เรียนนอกจากเรียน Matlab มาตรฐานไม่ได้เกี่ยวข้องกับฟังก์ชันการจัดการในเวลาที่มีการสร้าง จับฟังก์ชั่นทำผ่าตัดชนิดนี้ ใช้ฟังก์ชันแต่จะใช้ Matlab ซึ่งเรียกในเวลาของการประเมินในกรณีนี้

การแปล กรุณารอสักครู่..
 
ภาษาอื่น ๆ
การสนับสนุนเครื่องมือแปลภาษา: กรีก, กันนาดา, กาลิเชียน, คลิงออน, คอร์สิกา, คาซัค, คาตาลัน, คินยารวันดา, คีร์กิซ, คุชราต, จอร์เจีย, จีน, จีนดั้งเดิม, ชวา, ชิเชวา, ซามัว, ซีบัวโน, ซุนดา, ซูลู, ญี่ปุ่น, ดัตช์, ตรวจหาภาษา, ตุรกี, ทมิฬ, ทาจิก, ทาทาร์, นอร์เวย์, บอสเนีย, บัลแกเรีย, บาสก์, ปัญจาป, ฝรั่งเศส, พาชตู, ฟริเชียน, ฟินแลนด์, ฟิลิปปินส์, ภาษาอินโดนีเซี, มองโกเลีย, มัลทีส, มาซีโดเนีย, มาราฐี, มาลากาซี, มาลายาลัม, มาเลย์, ม้ง, ยิดดิช, ยูเครน, รัสเซีย, ละติน, ลักเซมเบิร์ก, ลัตเวีย, ลาว, ลิทัวเนีย, สวาฮิลี, สวีเดน, สิงหล, สินธี, สเปน, สโลวัก, สโลวีเนีย, อังกฤษ, อัมฮาริก, อาร์เซอร์ไบจัน, อาร์เมเนีย, อาหรับ, อิกโบ, อิตาลี, อุยกูร์, อุสเบกิสถาน, อูรดู, ฮังการี, ฮัวซา, ฮาวาย, ฮินดี, ฮีบรู, เกลิกสกอต, เกาหลี, เขมร, เคิร์ด, เช็ก, เซอร์เบียน, เซโซโท, เดนมาร์ก, เตลูกู, เติร์กเมน, เนปาล, เบงกอล, เบลารุส, เปอร์เซีย, เมารี, เมียนมา (พม่า), เยอรมัน, เวลส์, เวียดนาม, เอสเปอแรนโต, เอสโทเนีย, เฮติครีโอล, แอฟริกา, แอลเบเนีย, โคซา, โครเอเชีย, โชนา, โซมาลี, โปรตุเกส, โปแลนด์, โยรูบา, โรมาเนีย, โอเดีย (โอริยา), ไทย, ไอซ์แลนด์, ไอร์แลนด์, การแปลภาษา.

Copyright ©2026 I Love Translation. All reserved.

E-mail: