How to include a "time delay" in a simscape custom code [Matlab 2015a]
    8 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Francois Godin
 am 3 Nov. 2017
  
    
    
    
    
    Beantwortet: Francois Godin
 am 24 Nov. 2017
            I created a SimScape custom component that implements an externally commanded brake on my rotational degree of freedom. I modified the rotational friction block to respond to an external signal who applies the friction torque instantaneously.
Now, I would like to apply this braking friction gradually within a certain time. In Matlab2017b, I believe that it is fairly straightforward to do with the new events feature. However we are currently locked-up to 2015a, so I am trying to find a way to do something similar.
Anyone has a tip?
In summary, when A becomes active, I want to ramp the friction from 0 to Max in a specified time TAU.
Thanks
1 Kommentar
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
				Mehr zu Run-Time Parameters finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!