Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rapid Accelerator

Status
Not open for further replies.

DannyPlt

New member
Jun 30, 2010
1
I have Matlab code that runs a simulation. It works fine in Normal mode and Accelerator mode. But when I run that same code with the model in Rapid Accelerator mode, I get the error:

??? CAT arguments dimensions are not consistent.

The data import/export is set to read time and input variables [t,u] from the workspace and to export the variables tout, xout, and yout to the workspace.

The command I'm using is
[tout, xout, yout] = sim (sys);

As I said, it works in all but Rapid Accelerator mode. When I change the command to
[tout, xout] = sim (sys);

It works, but then I cannot access the outputs, which is really what I'm after in the first place. Any thoughts?

Danny
 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor