Getting CSV data into variable resistor using from file

1 view (last 30 days)
I'm using the simscape Variable Resistor block. I can use the 'From Workspace' block to vary the resistance over time. I'm trying to pull the same values from a CSV file. The CSV file will represent the resistance change over time. I'm not having much luck using 'From File'. How to I change the variable resistance value using a CSV file?

Answers (2)

AL
AL on 16 Apr 2014
Edited: AL on 17 Apr 2014
Hello, I am struggling with the same problem. I want to implement a variable resistor which has definite values at different times.
What is the best way to do this?
Edit: I came to the signal builder, there its possible to import files to build a signal. For Simscape there is need to use PS-Converters.
Or is there any better way to do this?
Thank you

Brandon D
Brandon D on 20 Apr 2014
I haven't found a better way yet.

Products

Community Treasure Hunt

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

Start Hunting!