Réponse apportée
Generate C Function wih inline keyword
This is probably not necessary. For any atomic subsystem, you can choose the type of code generated for it. The "inline" optio...

plus de 13 ans il y a | 0

Réponse apportée
Make error in Simlink
Actually, the third line from the end seems to indicate that "make" actually succeeded: Make successful for machine: "Dose_No...

plus de 13 ans il y a | 0

Réponse apportée
Simulink Real Time Workshop - how to measure code execution time?
There is an additional feature called "RTW profiling hooks" that might help with this. It is somewhat advanced and requires you...

plus de 13 ans il y a | 0

Réponse apportée
SIMULINK AND ARDUINO. PLEASE HELP!
The general idea is that "Scope" blocks have one graph per input port. If you want to have more than one signal displayed on a g...

plus de 13 ans il y a | 0

Réponse apportée
programming simulink blocks
There are two main methods: Embedded MATLAB blocks and S-functions. Embedded MATLAB blocks essentially allow you to define your...

plus de 13 ans il y a | 0

Réponse apportée
Using a Bus array inside of a Bus using cellToObject
I don't believe that there is any real analogue to this in releases earlier than 2010b. The closest thing that you could do is ...

plus de 13 ans il y a | 0

Réponse apportée
windows-1251
I believe that this might relate to the character-encoding settings of the operating system. Basically the operating system has...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Using simulink s-finctions to convert bus structures to byte arrays (and back). Can this be done?
It is important to remember that, even though it may have the same field names as the C "struct" that you have in mind, the data...

plus de 13 ans il y a | 0

Réponse apportée
A simulink block function for definite integral
I think that your best bet would be to use an Embedded MATLAB block for the integration. However, there is one obstacle, which ...

plus de 13 ans il y a | 0

Réponse apportée
Passing value of a variable From GUI button to Simulink model while running the simulation
You should be able to use the "set_param" command to programmatically modify properties of blocks from MATLAB. This includes th...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
custom blocks
I would recommend making a "Level 2 M-file S-function". This is available in the "user-defined functions" section of the Simuli...

plus de 13 ans il y a | 0

Réponse apportée
S-function interfacing problem: Storing a C-struct in a global data store?
Simulink itself doesn't read C header files, so you will need to make a Simulink.Bus object that describes the structure to Simu...

plus de 13 ans il y a | 1

Réponse apportée
Simulink & Real time Workshop (RTW)
RTW is intended to generate ISO/ANSI C code, and as a result of that, it doesn't generate any special commands in the code for t...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
SFunctions and Object Handles
Unfortunately, I'm pretty sure that this doesn't work. The main obstacles are: # If the object class is something that you h...

plus de 13 ans il y a | 2

Réponse apportée
What makes Rapid Accelerator regenerate code?
You can control how "sensitive" Simulink is about rebuilding model references by going to the "Model Reference" pane of the Conf...

plus de 13 ans il y a | 1

Réponse apportée
Large whitespace around Simulink model when exporting to .eps file in R2010a
The following link might relate to this: <http://www.mathworks.com/support/bugreports/518376 MathWorks Bug Report> To the ...

plus de 13 ans il y a | 0

Réponse apportée
How do I set the initial state of a Simulink block programatically?
The easiest way to set the initial state of a block from MATLAB code is to use the "set_param" command. This is essentially the...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Real Time Workshop - variables initialization
The "Optimization" section of the "Configuration Parameters" has several optimizations related to removing zero initializations....

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
Simulink Custom Storage Class "Importeddefine"
Basically, Simulink itself doesn't use header files, but compilers do. Thus, in this case the "Simulink.Parameter"'s job is ess...

plus de 13 ans il y a | 1

Réponse apportée
How can I log signals in referenced models while running rapid accelerator?
Unfortunately, there is currently (as of R2010b) a limitation in Simulink that prevents logging signals in accelerated models. ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
How can I set the background color of a Simulink annotation to a default color other than white in Simulink 7.1(R2008a)?
Although there isn't any way to change the default background color, you can write MATLAB code that will find all of the annotat...

plus de 13 ans il y a | 3

Réponse apportée
How can I identify all the changes to the configuration set between two different versions of Simulink?
I would recommend using the Config Set Printer available on MATLAB Central ( <http://www.mathworks.com/matlabcentral/fileexchang...

plus de 13 ans il y a | 1

| A accepté