Does the Model Based Design toolbox support Model Referencing?
I am trying to build a simple example using Model Reference Block from Simulink, as you can see below:
But I am getting the following errors:
How can I build the model using model reference?
Kind Regards, Rafael Barbosa
Hi Rafael Barbosa,
It is supported. Please have a look at the PIL example in the toolbox or here: https://community.nxp.com/thread/453726
You need to add a config block into the reference model too. (we currently working to remove this kind of limitation)
I added a configuration block in the referenced model as well, but I still could not build it.
When trying to build the above model, I got the following error message:
It is important to mention that I could build the referenced model "Sum" in the board, before used it as a reference model.
Hi again Daniel,
Regarding the PIL example, I could to run it here. However this example is different from what I am trying to do.
As you can see below, this model should just be executed and just the referenced block is build in the hardware.
In my current situation, I am trying to build the model with an inner referenced model.And I can not do it.
Did you could build the model that I sent as example previously (inside ReferenceModelTest.zip) ?
Kind Regards, Rafael
Is there any news about these topics that I mentioned above?
Dear Marius-lucian Andrei,Could you help me with this topic?
Abhishek Kumar also is interested in the topic.
I am looking into your issue. I was able to reproduce your error, and I am trying to fix it. I will add a hotfix as soon as possible.
Hi Paul Vlase,
Please let me know when you get news.
Dear Paul Vlase, Marius-lucian Andrei and dumitru-daniel.popa
Do you have some updating regarding this topic?
Me and Abhishek Kumar are interested on this topic.
DearPaul Vlase, Marius-lucian Andrei and dumitru-daniel.popa
Also, could you provide me an alternative solution for the .elf file generation from multiple Simulink .slx files, via the combination of the generated C code generated separatelly?
Dear Paul Vlase
As, Rafael Barbosa mentioned. We are eagerly waiting for the hotfix you mentioned.
dumitru-daniel.popa, Marius-lucian Andrei
Dear Paul Vlase
Any news on this topic?
We are waiting for some solution as we want to work with segregation of Application part of the software.
Marius-lucian Andrei dumitru-daniel.popa
Hello Abhishek Kumar and Rafael Barbosa,
We have investigated this and if we were to provide a patch for adding support for the Reference Model, the patch would bring important changes to the toolbox structure. So we will try to add support for Reference Models in the next release, probably at the end of this year.
Also, if you have suggestions for features, feel free to express them.
Dear Marius-lucian Andrei, dumitru-daniel.popa
1. What would be the target date for next release?
2. Would you be able to provide a guideline (and support) to work with AUTOSAR in the next release?
Currently we can generate application code with AUTOSAR compliance but we fail to have base layer communication via RTE to application layer.
Hello Abhishek Kumar,
For the first question, the release will be available probably in December this year. I will keep you updated regarding the date!
For the second one, we will enable support for the Matlab Autosar Blockset which will provide an easy way to test the AUTOSAR Application Layer directly on MPC57xx microcontrollers in PIL simulation. The same functionality which is already available for the S32K1xx in our toolboxes.
Retrieving data ...