Info
此问题已关闭。 请重新打开它进行编辑或回答。
Acces Simulink Signal during simulation
1 次查看(过去 30 天)
显示 更早的评论
Hey everybody, I'm currently trying to predict the relaxation of a Battery during runtime. What I'm using is current-profile and the corresponding voltage signal of a battery as the input signal for a simulink model where several other operations are processed such as a check-up if the signal can be declared as "relaxed". What I now want to do is the if the current turns from ~=0 to ==0 I want to export the Voltage signal and put it in a fitting function to predict the final Value of the exponential course of the voltage. the image show said Battery Voltage and current. So now when the current turns 0 for that long period of time I want to have a vector, that contains the voltage values for starting from the time the current turned =0. It would be enough for the program to create a vector with the voltage signals after 30 minutes, and then again after 45 minutes and so on.
I hope I was able to make myself clear enough as of my task.
I already looked up the documentation for running a simulation from matlab code, but couldn't find a real solution to my problem. I also checked the "Accessing Block Data during Simulation" site but wasn't sure if this is what i really need.
Thanks in advance for any help
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!