How can I update the constant block parameters from the text/csv data file based on the amplitude of the input signal?

조회 수: 1 (최근 30일)
Hello,
I am trying to update the constant block parameter based on the input signal during the simulation. I have cofficients of the transfer function in csv file for each voltage range and want to access thoese values based on the input signal (voltage). I would like to know how can I update the constant block by accessing the csv file.Thank you for your time !

답변 (1개)

Net Fre
Net Fre 2021년 12월 12일
Seems like a classic case for a lookup table.
There's also a video about it:

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by