필터 지우기
필터 지우기

How to resolve "Conversion to double from cell is not possible." in simulink/simscape

조회 수: 2 (최근 30일)
Hi,
I have built a quite large model in simulink which also includes a "physical" system which is modeled using the simscape toolbox. The model includes a ship subject to environmental loads and is actuated with a controller and a thruster, where the thruster is modeled using simscape.
The simscape model seems to work perfectly fine, but will not operate in the same model as the subsystem creating the waves. So, when the wave module is commented out, it works as it should, but when the it's included I get the following error: "Conversion to double from cell is not possible.". To make it run again, I have to restart matlab.
The wave module is taken from the MSS (marine systems simulator) toolbox.
Is there a way to solve this? I've tried converting the simscape model to an s-function, but was told it's not supported as of now. I've also tried converting the wave module to an s-function, but that is also not supported.
Is it possible to convert the simscape model to a conventional simulink diagram?
  댓글 수: 1
Olav Landstad
Olav Landstad 2020년 4월 30일
Or is there another way to have them coexist in the model without the wave module sabotaging for the simscape model?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simscape Driveline에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by