Getting CSV data into variable resistor using from file

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?

Réponses (2)

AL
AL le 16 Avr 2014
Modifié(e) : AL le 17 Avr 2014

0 votes

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

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by