A C MEX S-function must provide information about the function to the  dịch - A C MEX S-function must provide information about the function to the  Việt làm thế nào để nói

A C MEX S-function must provide inf

A C MEX S-function must provide information about the function to the Simulink® engine during the simulation. As the simulation proceeds, the engine, the ODE solver, and the C MEX S-function interact to perform specific tasks. These tasks include defining initial conditions and block characteristics, and computing derivatives, discrete states, and outputs.

As with MATLAB® S-functions, the Simulink engine interacts with a C MEX S-function by invoking callback methods that the S-function implements. Each method performs a predefined task, such as computing block outputs, required to simulate the block whose functionality the S-function defines. However, the S-function is free to perform the task in each method according to the functionality the S-function implements. For example, the mdlOutputs method must compute the block outputs at the current simulation time. However, the S-function can calculate these outputs in any way that is appropriate for the function. This callback-based API allows you to create S-functions, and hence custom blocks, of any desired functionality.

The set of callback methods that C MEX S-functions can implement is larger than that available for MATLAB S-functions. C MEX S-functions are required to implement only a small subset of the callback methods in the S-function API. If your block does not implement a particular feature, such as matrix signals, you are free to omit the callback methods needed to implement a feature. This allows you to create simple blocks very quickly.

The general format of a C MEX S-function is shown below:
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
A C MEX S-function must provide information about the function to the Simulink® engine during the simulation. As the simulation proceeds, the engine, the ODE solver, and the C MEX S-function interact to perform specific tasks. These tasks include defining initial conditions and block characteristics, and computing derivatives, discrete states, and outputs.As with MATLAB® S-functions, the Simulink engine interacts with a C MEX S-function by invoking callback methods that the S-function implements. Each method performs a predefined task, such as computing block outputs, required to simulate the block whose functionality the S-function defines. However, the S-function is free to perform the task in each method according to the functionality the S-function implements. For example, the mdlOutputs method must compute the block outputs at the current simulation time. However, the S-function can calculate these outputs in any way that is appropriate for the function. This callback-based API allows you to create S-functions, and hence custom blocks, of any desired functionality.The set of callback methods that C MEX S-functions can implement is larger than that available for MATLAB S-functions. C MEX S-functions are required to implement only a small subset of the callback methods in the S-function API. If your block does not implement a particular feature, such as matrix signals, you are free to omit the callback methods needed to implement a feature. This allows you to create simple blocks very quickly.The general format of a C MEX S-function is shown below:
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
AC MEX S-chức năng phải cung cấp thông tin về các chức năng để các công cụ Simulink® trong mô phỏng. Là số tiền thu được mô phỏng, động cơ, bộ giải ODE, và C MEX S-chức năng tương tác với nhau để thực hiện các nhiệm vụ cụ thể. Những nhiệm vụ này bao gồm việc xác định các điều kiện ban đầu và đặc điểm khối, và tính toán các dẫn xuất, các quốc gia riêng biệt, và kết quả đầu ra. Như với MATLAB® S-chức năng, các công cụ Simulink tương tác với một C MEX S-chức năng bằng cách gọi phương thức callback mà các cụ S-chức năng. Mỗi phương pháp thực hiện công việc được xác định trước, chẳng hạn như kết quả đầu ra khối tính toán, cần thiết để mô phỏng các khối có chức năng S-hàm, định nghĩa. Tuy nhiên, S-chức năng là miễn phí để thực hiện các nhiệm vụ trong từng phương pháp theo chức năng S-chức năng thực hiện. Ví dụ, phương pháp mdlOutputs phải tính toán đầu ra khối tại thời gian mô phỏng hiện tại. Tuy nhiên, S-chức năng có thể tính toán các kết quả đầu ra trong bất kỳ cách nào đó là thích hợp cho các chức năng. API gọi lại dựa trên Điều này cho phép bạn tạo ra S-chức năng, và do đó khối tùy chỉnh, của bất kỳ chức năng mong muốn. Các tập các phương thức callback C MEX S-chức năng có thể thực hiện là lớn hơn mà có sẵn cho MATLAB S-chức năng. C MEX S-chức năng được yêu cầu phải thực hiện một tập nhỏ của các phương thức callback trong S-hàm API. Nếu khối của bạn không thực hiện một tính năng đặc biệt, chẳng hạn như tín hiệu ma trận, bạn được tự do để bỏ qua các phương thức callback cần thiết để thực hiện một tính năng. . Điều này cho phép bạn tạo ra các khối đơn giản, rất nhanh chóng Định dạng chung của một C MEX S-chức năng được hiển thị dưới đây:






đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: