Getting CSV data into variable resistor using from file

1 visualizzazione (ultimi 30 giorni)
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?

Risposte (2)

AL
AL il 16 Apr 2014
Modificato: AL il 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 il 20 Apr 2014
I haven't found a better way yet.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by