Increase parameter value during Simulink simulation
1 次查看(过去 30 天)
显示 更早的评论
Good day everyone,
I'm attempting to gradually increase a value during a simulink simulation. It is a single value that I divide into three vectors to generate pulses as part of the PWM of a variable frequency drive system.
The time vector I'm aiming to change is 'time1'. In a MATLAB script I create this vector to be of size (1000,2). I need a way to read each individual entry of that matrix as time passes in the simulation. I understand the time steps used in MATLAB and Simulink are different which complicates the situation even further.
Any suggestions on how I could accomplish this in Simulink itself rather than using a MATLAB script?
Thanks
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/356626/image.png)
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!