Three-Phase Fault Parameter Values of Simulink Model in Real-Time Target
Afficher commentaires plus anciens
Hello, I am using a SimPowerSystems part called Three-Phase Fault in a Simulink model which I am running on a Real-Time target.
I wish to change the value of a parameter of the Three-Phase Fault block, the Fault resistance value, between runs without recompiling the model on the target.
When I examine the Real-Time Target object to see the parameter list, I can't see this parameter to modify and looking at the block with the Mask Editor, the parameter attribute is not ticked as tunable.
How can I make this parameter adjustable using setparam like many of its other variables?
Do I have to create a custom version of this part by breaking its reference to the original library part or is there another method which will work, like setting a global variable that the target will examine before each run.
Thank you in advance for your suggestions.
Réponse acceptée
Plus de réponses (1)
Suneesh
le 26 Sep 2014
0 votes
This is more of a question about the Three-Phase fault block rather than about Simulink Real-Time. The parameter does not appear in the set of tun-able parameters for the target object becasue the block designer decided that the parameter should not be tun-able(and hence did not check the box for 'Tunable' in the mask parameter).
Any kind of customization MIGHT break the blocks functionality since it seems like the block designers decided NOT to make the parameter tunable. Going through MathWorks Tech Support may yield a solution or workaround.
Catégories
En savoir plus sur Model Preparation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!