The variable capacitor in Simscape doesn't take vector or function

1 次查看(过去 30 天)
Hi everyone, I'm trying to make a circuit in Simscape, i need to make a variable capacitance which takes a function from the workspace, but it give me the error in the picture, any help, please?

回答(1 个)

Sabin
Sabin 2023-1-9
Having a function is fine but the output of the function should be scalar not a vector. If the function provides several values perhaps the circuit needs to be updated to include several capacitors.

类别

Help CenterFile Exchange 中查找有关 Choose and Parameterize Blocks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by