Thread Subject: RSim RTW generation

Subject: RSim RTW generation

From: Amardeep

Date: 1 Dec, 2011 09:00:09

Message: 1 of 2

Hi everybody;
I am running my simulink model as a desktop exe built using the RSim target (as I needed to interface with .mat files) and it seems my results aren't what they should be. Does code generation enforce fixed point mathematics or cause rounding errors etc? Is there anything to be aware of which can cause issues?
I have tried finding issues in the manuals but they don't draw attention to anything.
Regards
Amardeep

Subject: RSim RTW generation

From: Phil Goddard

Date: 7 Dec, 2011 08:51:07

Message: 2 of 2

RSIM should generate exactly what the simulation does, including using the same fixed point datatypes and rounding.

What specifically are you seeing that's different?
Can you reproduce it with a simple model?

Phil.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
rtw Amardeep 1 Dec, 2011 04:04:11
rsim Amardeep 1 Dec, 2011 04:04:11
simulink Amardeep 1 Dec, 2011 04:04:11
rssFeed for this Thread

Contact us at files@mathworks.com