Update: For the time being, I have a sine wave modulating the taper. You can see how the duty cycle changes over time.
How to link a control knob to a simscape potentiometer?
23 次查看(过去 30 天)
显示 更早的评论
I am wanting to create a pontentiometer that controls the pulse width of a square signal. One side is connected to V+, the other V-, not ground.
Simscape requires a knob interface to control the resistance, but I cannot find any other resources online to fix this issue. Everything I tried online has not come up with anything.
Here is what I know: I know that we must convert the simscape signal to simulink. Then, we must double click the knob and click on the converted signal. But when I do this part, it says that there is no parameters or values to edit.
To summarize: can someone walk me through how to control the resistance on the potentiometer? Thank you so much. I already searched the forums but couldn't find anything. Thank you so much for your time and patience.
回答(1 个)
Joel Van Sickel
2023-3-10
You should be able to tie the knob to a constant value in simulink that then passed into a simulink to ps converter, and then pass that to the potentiometer.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!