Group Abstract Group Abstract

Message Boards Message Boards

0
|
9.4K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

Avoid problems with WSMModelData - slow or fails to evaluate?

I have a fairly simple model that uses the Media library and fluid ports. When trying to use WSMModelData[model,"Summary"] the expression takes way to long or hangs (I haven't seen an output). The examples in the documentation work fine. The same is true of other WMModelData properties like OutputVariables. ParameterValues works but is slow.

I have an algorithm section in my model so I get the message

Model was not translated completely: "Algorithm sections only supported in functions"

But I wouldn't expect that to prevent WSMModelData from returning some of the properties of the model. I've tested this on both macOS and Windows.

POSTED BY: Eric Smith
POSTED BY: Malte Lenz
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard