slreq.generateReport() -- unrecognized method, property or field...
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Chris Paredis
el 3 de Feb. de 2021
Comentada: Chris Paredis
el 4 de Feb. de 2021
According to the R2020b documentation, there should be a method for Simulink Requirements Sets called generateReport:
When I try to use it, I get the error:
Unrecognized method, property, or field 'generateReport' for class 'slreq.ReqSet'.
Is the documentation ahead of the release?
0 comentarios
Respuesta aceptada
Leo
el 4 de Feb. de 2021
Hi Chris,
Would you mind pasting the code snippet you used here? It looks like the prefix 'slreq' in the front of generateReport is missing.
For example:
reqSet = slreq.load('myReqSet.slreqx');
slreq.generateReport(reqSet);
But if the following command is used:
generateReport(reqSet);
this kind of error will be thrown.
Thanks,
ZQ
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Simscape Electrical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!