Mark McBroom
Followers: 0 Following: 0
Statistica
RANK
167
of 300.750
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
Risolto
Convert Hexavigesimal to Decimal
NASA (Ned’s Alien-Spying Agency) have made contact with a 13-fingered race from the planet Genai. Naturally, Ned’s shadowy opera...
circa un mese fa
Risolto
Sieve of Eratosthenes - 02
"Sift the Two's and Sift the Three's, The Sieve of Eratosthenes. When the multiples sublime, The numbers that remain a...
circa un mese fa
Risolto
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
circa un mese fa
“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'
3 mesi 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. ...
3 mesi 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 ...
3 mesi 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...
3 mesi 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...
3 mesi 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 ...
4 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...
5 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...
7 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?...
9 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 ...
9 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...
9 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...
9 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....
9 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...
10 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.
10 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...
10 mesi fa | 0
Code generation in jenkins pipeline
Also ensure that MATLAB Coder/Simulink Coder/Embedded Coder is installed on the jenkins machine.
circa un anno 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 ...
circa un anno 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...
circa un anno 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...
circa un anno 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...
circa un anno 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...
circa un anno 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/...
circa un anno 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/...
oltre 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.
oltre 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











