Info

此问题已关闭。 请重新打开它进行编辑或回答。

Is it possible to provide data to the Customised simscape file from the matlab workspace

1 次查看(过去 30 天)
Dear all, For non linear translational spring modelling using a simscape block, Is it possible to feed the deflection and stiffness values of the spring from XL sheet directly instead of specifying the values under parameter ?

回答(1 个)

Steve Miller
Steve Miller 2015-3-2
Hi Venkat,
If the parameter values in the dialog box are entered as MATLAB variables, then it will use the values those variables have in the MATLAB workspace. If you imported deflection and stiffness values from Excel into the MATLAB Workspace, the Simscape nonlinear spring would use those values.
--Steve
  1 个评论
venkat
venkat 2015-3-3
Thanks Mr.Steve But i tried doing that matlab throws error,can you please fix this on a simple model which i have attached where i have given both deflection-stiffness data and the model for your reference.
Good day

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by