how to access Simulink Compiler (or any other way for real-time app designer and simulink interface)?

조회 수: 8 (최근 30일)
Target: Real-time interface between app designer and simulink (found some appropriate solution if use Simulink Compiler but unable to access or use this Compiler)
  댓글 수: 6
Muhammad Rehman
Muhammad Rehman 2022년 10월 3일
이동: Walter Roberson 2022년 10월 4일
Yeah sure I have License for MATLAB along with all necessary tools installed (i.e. simulink compiler and MATLAB compiler, I have cross checked it to confirm from add-ons that these compilers are installed).
Muhammad Rehman
Muhammad Rehman 2022년 10월 6일
@Harshit Gupta @Walter Roberson Thank you for your favorable response to my query to make things easier and understandable for me, these are the good suggestions that helped to focus on my problem deeply.

댓글을 달려면 로그인하십시오.

채택된 답변

Harshit Gupta
Harshit Gupta 2022년 10월 4일
@Muhammad Rehman, As per my understanding, you want to know how to implement a Real-time interface between App Designer and Simulink. You want that all inputs and outputs (signals etc.) should be seen as moving in real-time while giving output in your MATLAB App.
The following tutorials are a great place to get started:
In R2020b and newer releases, you can use the following objects and functions in the app code and callbacks:
  • To control your real-time application, use the 'slrealtime' target object.
  • To tune parameters, use 'setparam'.
  • To visualize signals and parameters in UI Axes, use instruments.
In R2022a, we introduced Simulink Real-Time App Generator. It enables you to automatically generate an App Designer instrument panel from a model. You can then open the generated MLAPP file in App Designer for additional changes. For more information, see Create App Designer Instrument Panels by Using App Generator .
Since R2021b, the Component Library in App Designer includes a set of dedicated Simulink Real-Time components that supports common operations that interface to a real-time application. For more information, see Create App Designer Instrument Panels by Using Simulink Real-Time Components .

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Real-Time Application Instruments and Instrument Panel Apps에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by