You construct a handle for a specific function by preceding the functi การแปล - You construct a handle for a specific function by preceding the functi ไทย วิธีการพูด

You construct a handle for a specif

You construct a handle for a specific function by preceding the function name with an @ sign. The syntax is:

h = @functionname
where h is the variable to which the returned function handle is assigned.

Use only the function name, with no path information, after the @ sign. If there is more than one function with this name, MATLAB® associates with the handle the one function source it would dispatch to if you were actually calling the function.

Create a handle h for a function plot that is on your MATLAB path:

h = @plot;
Once you create a handle for a function, you can invoke the function by means of the handle instead of using the function name. Because the handle contains the absolute path to its function, you can invoke the function from any location that MATLAB is able to reach, as long as the program file for the function still exists at this location. This means that functions in one file can call functions that are not on the MATLAB path, local functions in a separate file, or even functions that are private to another folder, and thus not normally accessible to that caller.
0/5000
จาก: -
เป็น: -
ผลลัพธ์ (ไทย) 1: [สำเนา]
คัดลอก!
คุณสร้างหมายเลขอ้างอิงสำหรับฟังก์ชันเฉพาะ โดยก่อนหน้าชื่อฟังก์ชันด้วยการ@สัญลักษณ์ ไวยากรณ์คือ:

h = @functionname
โดยที่ h คือ ตัวแปรที่กำหนดให้หมายเลขอ้างอิงฟังก์ชันส่งคืน

ใช้เฉพาะฟังก์ชันชื่อ โดยไม่มีเส้นทางข้อมูล หลังจากที่@เครื่องหมาย ถ้ามีมากกว่าหนึ่งฟังก์ชัน ด้วยชื่อ MATLAB ®ร่วมกับหมายเลขอ้างอิงแหล่งหนึ่งก็จะส่งไปยังถ้าคุณถูกจริงเรียกฟังก์ชันได้

สร้างจุดจับ h สำหรับพล็อตฟังก์ชันที่อยู่ใน MATLAB:

h = @plot;
เมื่อคุณสร้างหมายเลขอ้างอิงสำหรับฟังก์ชัน คุณสามารถเรียกใช้ฟังก์ชัน โดยการจัดการแทนโดยใช้ชื่อฟังก์ชันได้ เนื่องจากหมายเลขอ้างอิงประกอบด้วยเส้นทางแบบเต็มของฟังก์ชัน คุณสามารถเรียกใช้ฟังก์ชันจากตำแหน่งใด ๆ ที่ MATLAB สามารถถึง ตราบเท่าที่แฟ้มโปรแกรมฟังก์ชันยังคงอยู่ในตำแหน่งนี้ ซึ่งหมายความ ว่า ฟังก์ชันในแฟ้มหนึ่งสามารถเรียกฟังก์ชันที่ไม่ได้อยู่บนเส้นทางของ MATLAB ฟังก์ชันภายในแฟ้มแยกต่างหาก หรือแม้แต่ฟังก์ชันที่ส่วนตัวไปยังโฟลเดอร์อื่น และดังไม่ปกติให้เรียกว่า
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 2:[สำเนา]
คัดลอก!
You construct a handle for a specific function by preceding the function name with an @ sign. The syntax is:

h = @functionname
where h is the variable to which the returned function handle is assigned.

Use only the function name, with no path information, after the @ sign. If there is more than one function with this name, MATLAB® associates with the handle the one function source it would dispatch to if you were actually calling the function.

Create a handle h for a function plot that is on your MATLAB path:

h = @plot;
Once you create a handle for a function, you can invoke the function by means of the handle instead of using the function name. Because the handle contains the absolute path to its function, you can invoke the function from any location that MATLAB is able to reach, as long as the program file for the function still exists at this location. This means that functions in one file can call functions that are not on the MATLAB path, local functions in a separate file, or even functions that are private to another folder, and thus not normally accessible to that caller.
การแปล กรุณารอสักครู่..
ผลลัพธ์ (ไทย) 3:[สำเนา]
คัดลอก!
คุณสร้างรองรับฟังก์ชั่นที่เฉพาะเจาะจงโดยก่อนหน้านี้ชื่อฟังก์ชันกับ @ เซ็น ไวยากรณ์ :

H
= @ functionname ที่ H คือตัวแปรที่ส่งกลับฟังก์ชันจัดการกำหนด

แค่ใช้ชื่อฟังก์ชัน ไม่มีเส้นทางข้อมูลหลังจาก @ เซ็น หากมีมากกว่าหนึ่งฟังก์ชัน กับชื่อนี้โปรแกรม®ร่วมกับจัดการกับหน้าที่หนึ่งแหล่งจะจัดส่งให้ถ้าคุณกำลังเรียกใช้ฟังก์ชัน

สร้างจัดการ H สำหรับฟังก์ชันแปลงที่อยู่บนเส้นทาง Matlab ของคุณ :

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

Copyright ©2024 I Love Translation. All reserved.

E-mail: