Seth on Simulink

October 22nd, 2008

Announcing the release of R2008b!

I am proud to announce the arrival of R2008b.  Simulink, Stateflow, and Real-Time Workshop have many important new capabilities to explore.  If you have not yet downloaded the latest release log in and check it out.  Look over the Highlights of R2008b web page for an overview of this release.

Here are some links to the release notes for Simulink, Stateflow and RTW.

Simulink R2008b
Stateflow R2008b
Real-Time Workshop R2008b
Real-Time Workshop Embedded Coder R2008b

For the next few weeks, I will provide some introductions to these new capabilities right here.  Let me know what questions you have about the new release and I’ll try to answer those too.

What do you think?

What intrigues you on the highlights of 2008b page?  Leave a comment here and tell me about it.

3 Responses to “Announcing the release of R2008b!”

  1. Ric replied on :

    Hi there Seth,

    I am moving a project that is compose of a simulink model translated to C then to DLL using the R2007B suite of Mathworks software. This DLL is used in Matlab codes using loadlibrary and related function. All is fine in R2007B

    I tried to produced the DLL using RTW 2008B and it actually produced the DLL but would not worked with the existing m codes. teh code below is NOT working.

    ipRtwMdlPrams = libpointer(’Parameters_SingleClasRemCrystEml’, RtwMdlPrams);

    I check the library is loaded and check that an instance of ‘Parameters_SingleClasRemCrystEml’ symbol is actually exported in the DLL.

    Do you have any idea what can be happening?

    Thank you vrey much.

    Kind regards,

    Ric Pascual

  2. Ric replied on :

    Object-Oriented Programming In Simulink

    Hi there Seth,

    This is my second question for today. Thanks for your patience. I really like the new OOP syntax in Matlab that was introduced in R2008A. I am wondering if this has a flow through effect in Simulink.

    At the moment I only know of arrays being passed (by the connecting lines) in Simulink models. For structures I have to use Bus Creator. Is it possible now to pass class objects (by the connecting line) in Simulink? If so can you please send me the reference on how to do this?

    Thank you very much.

    Kind regards,

    Ric

  3. robin replied on :

    Seth: my application is very much similar to Ric’s. Excepting that I go from a simulink model of a complex power system– which runs very well in continuous time domain to discretized version–also works well, then to fixed point version using IQmath blocks then to generate code for the c2000 embedded processor. The basic task of the model is to get 3 phase AC voltage & convert it to DC output by generating 6 switching signals.
    It seems that in the process, somehow, timing relationship of the switching signals gets scrambled when the code is run in TMS320F2812 processor real time. All switching signals seem longer in duration, and skewed.
    This has brought up the question of how exactly Simulink runs a model, impact of “sampling” time”, how different math blocks are treated during execution & how all this math is translated in the embedded code. Is it possible that the model runs through various blocks at different times–because it cannot do computations concurrently for blocks that the underlying math expects to be– & thus dilates the timing relationship?
    Yet I know this approach ought to be implementable. So there must be some better way of organizing the model blocks so that the timing relationship is maintained & RTW signals come out with desired properties seen in the model.
    How do I find out about this type of approach for creating RTW code from the virtual world of the model?
    Any help will be highly appreciated.
    -robin gangopadhya

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


Seth Popinchalk is an Application Engineer for The MathWorks. He writes here about Simulink and other MathWorks tools used in Model-Based Design.
  • Mohamamd: Hi Suth, I try to simulate a load tap-changing transformer in simulink but its control part has to be...
  • Han Geerligs: Hello Guy, thanks for the clarificaton and link. However in the documentation I am missing the...
  • Guy: @Han, you probably already know, but I think it is good to share with everyone. To zoom in use the key...
  • Han Geerligs: Hi Seth, Once again I’d like to point out that my biggest accelerator is using mouse and keyboard...
  • XaL: Hi, thanks for the tips. As someone wrote in http://blogs.mathwor ks.com/seth/2009/03/ 13/new-%C2%A0rele...
  • Uba osy: Hi, in the introductory example for fuzzy logic toolbox it was noted that using non fuzzy means, you could...
  • Prashant: How can I have same example but instead AC(1 to 10V 50 or 60Hz) and DC(0.5 to 10 V) then adding AC+DC but...
  • adrian chavarro: Great tool, for educational and sicentific, simulation. I would like to know where can i place a...
  • Ashish Sadanandan: @wei, I was talking about the case where the compiler would perform the ‘model_Xdim...
  • wei: @Ashish, I agree with your observation on compiler optimization but fail to see why Han’s code would be...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.