필터 지우기
필터 지우기

Is there any possible way to generate M code from Simulink model

조회 수: 1 (최근 30일)
Mandi Poornasri
Mandi Poornasri 2023년 3월 9일
댓글: Mandi Poornasri 2023년 3월 9일
Hello, I want to generate a Requirements document from the existing Simulink model.
So, I am thinking to generate first m code from the simulink modela and then convert the same to requirements (Word) document.
Please help me with this and let me know if there are any other suggestions.

답변 (1개)

Harsh Sanghai
Harsh Sanghai 2023년 3월 9일
Hi,
Another approach that you can take is to use the Simulink Requirements feature. Simulink Requirements allows you to create and manage requirements for Simulink models. You can create requirements directly in Simulink and trace them to the model elements. Simulink Requirements also provides tools to generate reports from the requirements.
Here are the general steps that you can follow to use the Simulink Requirements feature:
  1. Open the Simulink model that you want to create requirements for.
  2. Click on the "Requirements" button in the Simulink toolbar.
  3. In the "Requirements Editor" dialog box, create the requirements for your model.
  4. Use the traceability tools to trace the requirements to the model elements.
  5. Use the report generation tools to generate a requirements document.
Using the Simulink Requirements feature can save you time and effort in creating the requirements document. However, it requires some additional setup and configuration. You will need to create a requirements database and set up the traceability between the requirements and the model elements.
  댓글 수: 1
Mandi Poornasri
Mandi Poornasri 2023년 3월 9일
Hello Harsha,
Thanks for the information,
My Requirements looks like a PSEUDO CODE.
So, the Requirements generated from this concept seems different from need.

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

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by