Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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 ?

Answers (1)

Steve Miller
Steve Miller on 2 Mar 2015
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 Comment
venkat
venkat on 3 Mar 2015
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!