Simulink.B​lockDiagra​m.getIniti​alStates and Configuration Set References

1 visualización (últimos 30 días)
Greg
Greg el 30 de Abr. de 2014
Comentada: craq el 9 de Jun. de 2016
Does setting up a Simulink model to use a configuration set completely preclude the possibility of using Simulink.BlockDiagram.getInitialStates() to interrogate the model? When I try on this simple model, I get the error:
Error using getInitialState (line 20)
A configuration set reference does not allow writing to parameters in the source configuration set
Error in sl (line 16)
[varargout{1:nargout}]=feval(varargin{:});
Error in Simulink.BlockDiagram.getInitialState (line 27)
I've attached my simple example model. Running in R2013b at the moment. Get the same problem in Linux and Windows environments.
(By the way... since you introduced this new '.slx' model format back like two years ago, you might think about upgrading the Answers forum to allow uploads of .slx files...)
  1 comentario
craq
craq el 9 de Jun. de 2016
I get the same error message for this command:
set_param(bdroot, 'PostCodeGenCommand', 'myFunc(a,b)')

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Multicore Processor Targets en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by