Mark McBroom
Followers: 0 Following: 0
Statistics
RANK
167
of 300,571
REPUTATION
694
CONTRIBUTIONS
0 Questions
444 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
65
RANK
of 21,027
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Solved
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...
10 days ago
Solved
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...
10 days ago
Solved
Tell me the slope
Tell me the slope, given a vector with horizontal run first and vertical rise next. Example input: x = [10 2];
10 days ago
“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'
2 months ago | 1
| accepted
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. ...
2 months ago | 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 ...
2 months ago | 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...
2 months ago | 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...
2 months ago | 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 ...
3 months ago | 1
| accepted
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...
4 months ago | 0
| accepted
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...
6 months ago | 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?...
8 months ago | 0
| accepted
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 ...
8 months ago | 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...
8 months ago | 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...
8 months ago | 0
Simulink coder packed structs
See the "Alignment" property for Simulink.Bus elements defined here: https://www.mathworks.com/help/simulink/slref/simulink.bus....
8 months ago | 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...
9 months ago | 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.
9 months ago | 0
| accepted
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...
9 months ago | 0
Code generation in jenkins pipeline
Also ensure that MATLAB Coder/Simulink Coder/Embedded Coder is installed on the jenkins machine.
1 year ago | 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 ...
1 year ago | 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...
1 year ago | 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...
1 year ago | 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...
1 year ago | 0
| accepted
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...
1 year ago | 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/...
1 year ago | 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/...
1 year ago | 0
Header files not generated
You are correct. Those files are not generated but rather are shipped with Simulink Coder/Embedded Coder.
1 year ago | 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...
1 year ago | 0
| accepted











