Retrieving data from MATLAB workspace into Simulink

451 Views Asked by At

I sense a data 'v' in a Simulink model and now want to generate 'v' magnitude of DC voltage in again, the same simulink model.

I tried to get this working by putting 'v' in block parameters of DC voltage block.

Please help me with how I can generate 'v' voltage from DC voltage block.

1

There are 1 best solutions below

2
On

Is this with Simscape? if so, you can use the Controlled Voltage Source block, in combination with a From Workspace block and a Simulink-PS Converter block.