Mark McBroom
Followers: 0 Following: 0
Statistica
RANK
167
of 300.331
REPUTAZIONE
694
CONTRIBUTI
0 Domande
444 Risposte
ACCETTAZIONE DELLE RISPOSTE
0.00%
VOTI RICEVUTI
65
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
“How can I write two M‑scripts: one to disable signal logging across the whole Simulink model (masked subsystems), and another to enable logging only for selected signals
Your first 2 find_system() calls don't look under masks. Try adding 'LookUnderMasks','all'
22 giorni fa | 1
| accettato
Unnecessary copies in code when using nested non-virtual buses with atomic subsystems
Each release of Embedded Coder incluces improved optimization, and removing data copies is one of the most common improvements. ...
26 giorni fa | 0
Is it possible to generate C code with Embedded Coder (ERT TLC) following the Google C style guide?
There is not built-in support for this standard. Embedded Coder has many custtomization options, so I would expect many of the ...
26 giorni fa | 0
Simulink Functionality in Cloud Headless-Environments
Do you have a license for Simulink, MATLAB Coder and Simulink coder for your cloud environment? https://www.mathworks.com/matla...
circa un mese fa | 0
Function caller block generating Function_name.h file in code generation
If the .c and .h files already exist for the function you want to call, you should use the C Caller block. https://www.mathwork...
circa un mese fa | 0
How can I tell when a Stateflow state is active other than looking at it or using the Data Inspector?
Stateflow can be configured to output the current state as an output port from the chart. You can then add assertion blocks on ...
2 mesi fa | 1
| accettato
Create Custom Object Class for SLDD
https://www.mathworks.com/help/ecoder/ug/define-storage-class-memory-section-and-function-template-settings-for-a-software-archi...
3 mesi fa | 0
| accettato
Simulink Embedded Coder: need to define code generation storage class for a block that is part of a library
You could try putting a mask on the library block and adding a mask argument for the State. Then, create a Simuilnk.Signal to r...
5 mesi fa | 0
How to get the same code generation for a whole Simulink model and referenced subsubsyem?
Have you tried making the sub-system atomic and then on the code generation tab, setting the desired interface for the function?...
6 mesi fa | 0
| accettato
Cast to double in embedded coder
The default data type for literal constants ( i.e. 1.25) is double. This is causing operations with these contants to be cast ...
6 mesi fa | 0
VxWorks libmat and libmx source code
MathWorks does not provide the source files for libmat and libmx. One workaround would be to save your data in a text file rath...
6 mesi fa | 0
Externally (C++) defined bus type issue used in a simulink function
Is the bus configured to use the externally defined headerfile using the DataScope and Headerfile properties of the Simuilnk.Bus...
7 mesi fa | 0
Simulink coder packed structs
See the "Alignment" property for Simulink.Bus elements defined here: https://www.mathworks.com/help/simulink/slref/simulink.bus....
7 mesi fa | 0
How to configure the encoder to use C-code standard data type keywords?
You can use standard C99 data types in the generated code. See this link: https://www.mathworks.com/help/ecoder/ug/control-dat...
8 mesi fa | 0
What are the distribution rights for the header files used by autocoded Simulink models?
There are no restrictions on sharing the generic header files.
8 mesi fa | 0
| accettato
speedgoat remote DDS communication
I am not sure what you mean by a "DDS router". Other DDS participants can communicate with the speedgoat via an Ethernet connec...
8 mesi fa | 0
Code generation in jenkins pipeline
Also ensure that MATLAB Coder/Simulink Coder/Embedded Coder is installed on the jenkins machine.
11 mesi fa | 0
Inlined tunable parameter values because of using different data type then double-precision
You can either set the data to the proper data type in the data dictionary, or you can cast the value in the block dialog. For ...
11 mesi fa | 0
Why does code generated by Embedded Coder change when subsystem does not change?
The code from a subsystem model can change if the parent model changes, even if no changes were made to the subsystem. During t...
11 mesi fa | 0
Matlab's Simulink UDP send to unity
Ive not worked with unity, but have you tried just sending and receiving a float? Simulink can do this no problem. This would...
11 mesi fa | 0
Realtime streaming in Simulink?
Constant blocks are only updated with new workspace vaues if the Simulink model is: paused, Model Update, and then resumed. A b...
11 mesi fa | 0
| accettato
Embedded Coder shall use an externally implemented nested struct for read and write access (in place) in it's generated code which is written in C.
A couple of ideas. It sounds like the functional call sub-system is set to be reusable. Try to make it non-reusable. Follow t...
12 mesi fa | 0
About legacy code: can you go from labview to simulink via dlls?
Try generating an FMU from your Simulink model and then using that FMU in Labview https://www.mathworks.com/help/slcompiler/gs/...
12 mesi fa | 0
Stateflow: reset simulink-based state on entry
Did you try putting a reset subsystem in the Simulink subsystem to reset the state? https://www.mathworks.com/help/simulink/ug/...
circa un anno fa | 0
Header files not generated
You are correct. Those files are not generated but rather are shipped with Simulink Coder/Embedded Coder.
circa un anno fa | 0
Is it possible to use Simulink's DDS BlockSet to communicate between two Simulink models on two computers?
You can use Simulink to exchange DDS messages from 2 or more different Simulink models using External mode. These Simuilnk mode...
oltre un anno fa | 0
| accettato
How to call a DLL sub-function in Simulink EML suitable for use in accelerated models & generated code
coder.ceval() is the approach to use for this. https://www.mathworks.com/help/simulink/ug/incorporate-c-code-using-a-matlab-fun...
oltre un anno fa | 0
Solver library while converting from Simulink to C
The normal approach is to first select a solver that provides the best results when testing the model in simulation mode. You s...
oltre un anno fa | 0
Configuring Embedded Coder to Generate Non-Static Initialize Method in C++ Code
It sounds like you are not using Embedded Coder ( ert.tlc ). Embedded Coder should generate the public methods Initialize(), st...
oltre un anno fa | 0
SIMULINK testing a model that has bus input and output ports
If you already have a Simulink.Bus defined, another approach is to place a constant block in the Simulink model, set its value t...
oltre un anno fa | 0











