Make timeseries tuneable Rapid-accelerator
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to run rapid accelerator whilst changing parameters of a model using setVariable. I have a struct of timeseries that is used as the input to the model via fromworkspace blocks and I want these to be tunable so I can run in accelerator mode. Unfortunately I cannot easily change to using inputs instead as this would require changes to library files I don't own.
0 comentarios
Respuestas (1)
Will
el 29 de En. de 2026 a las 16:22
Wrap your timeseries struct in Simulink.Parameter and set the CoderInfo.StorageClass = 'SimulinkGlobal'.
Then, use this parameter object in your From Workspace blocks and change values between runs using setVariable.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!