Borrar filtros
Borrar filtros

How to export requirements to reqif with a script

2 visualizaciones (últimos 30 días)
Andreas
Andreas el 14 de Mayo de 2021
Respondida: Alex Howard el 7 de Jun. de 2021
I wan't write a m-script, that exports requirements to a reqif-File. Is there a function to export the requirements?
  9 comentarios
Rik
Rik el 17 de Mayo de 2021
Note that most frequent contributors have little experience with Simulink. So if your question is only applicable to Simulink (as a quick search seems to suggest), your chances of getting a solution are not great and the turn-around time might be substantially longer.
Andreas
Andreas el 17 de Mayo de 2021
This sounds like a plan. How can I debug the Matlab UI and see what the command behind my UI operation is?

Iniciar sesión para comentar.

Respuestas (2)

Alex Howard
Alex Howard el 7 de Jun. de 2021
Hi Andreas,
There is no public API for exporting requirements to a ReqIF file. You must use the Requirements Editor.

Jan
Jan el 18 de Mayo de 2021
If the searched function is implemented as M-function, you find the correspodning M-files using the profiler:
profile on % type this in the command window
... trigger the button in the GUI
profile report
Now you see a list of called function. Now you can set a break point in a function, which looks, like it does, what you need. Check the values of the input arguments or maybe the way to call it is documented.
As long as you dig in M-functins only, I assume, this is not a "reverse engineering", which would be a conflict with the license agreement.

Categorías

Más información sobre Naming Conventions en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by