MATLAB Answers

Getting CSV data into variable resistor using from file

1 view (last 30 days)
Brandon D
Brandon D on 29 Mar 2013
Answered: Brandon D on 20 Apr 2014
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?

  0 Comments

Sign in to comment.

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

  0 Comments

Sign in to comment.


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

  0 Comments

Sign in to comment.


Translated by