سؤال

I find the requirements by searching for subsystems, as there seems to be no special block for requirements.

find_system(gcs,'LookUnderMasks','none','FollowLinks','off','BlockType','SubSystem','LinkStatus','none')

I get all the subsystems, including :

'test_simulinkmodel/SLVnV Internal Requirement Sub Block Name 1'

Is there some other way than to look for this (default?)string?

Also, when I know the path, is there some way to get the contents (Titles, descriptions?)

هل كانت مفيدة؟

المحلول

Which release are you using? In the latest release (R2013a), there is the System Requirements block. You can also generate (and customize) a requirements report, which should also work in earlier releases (I remember using it in R2011a for example).

نصائح أخرى

In the R2017b release, MathWorks released a new product called Simulink Requirements that lets you author and manage requirements within Simulink. You can link requirements to design objects in Simulink as well as to test cases and their results.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top