photo

Mark McBroom

Last seen: 2 dagar ago Active since 2012

Followers: 0   Following: 0

Message

I am an Application Engineering Manager at MathWorks.

Statistics

All
MATLAB Answers

0 Questions
444 Answers

Cody

0 Problems
139 Solutions

RANK
167
of 300 331

REPUTATION
694

CONTRIBUTIONS
0 Questions
444 Answers

ANSWER ACCEPTANCE
0.00%

VOTES RECEIVED
65

RANK
 of 20 920

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
1 465
of 168 124

CONTRIBUTIONS
0 Problems
139 Solutions

SCORE
1 740

NUMBER OF BADGES
8

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Community Group Solver
  • Pro
  • Knowledgeable Level 5
  • Word Puzzles Master
  • MATLAB Central Treasure Hunt Finisher
  • Commenter
  • Promoter
  • CUP Challenge Master
  • 6 Month Streak
  • Revival Level 3
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
“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 dagar ago | 1

| accepted

Answered
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 dagar ago | 0

Answered
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 dagar ago | 0

Answered
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...

ungefär en månad ago | 0

Answered
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...

ungefär en månad ago | 0

Answered
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 månader ago | 1

| accepted

Answered
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 månader ago | 0

| accepted

Answered
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 månader ago | 0

Answered
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?...

7 månader ago | 0

| accepted

Answered
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 ...

7 månader ago | 0

Answered
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...

7 månader ago | 0

Answered
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 månader ago | 0

Answered
Simulink coder packed structs
See the "Alignment" property for Simulink.Bus elements defined here: https://www.mathworks.com/help/simulink/slref/simulink.bus....

7 månader ago | 0

Answered
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 månader ago | 0

Answered
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 månader ago | 0

| accepted

Answered
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 månader ago | 0

Answered
Code generation in jenkins pipeline
Also ensure that MATLAB Coder/Simulink Coder/Embedded Coder is installed on the jenkins machine.

11 månader ago | 0

Answered
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 månader ago | 0

Answered
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 månader ago | 0

Answered
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 månader ago | 0

Answered
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 månader ago | 0

| accepted

Answered
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 månader ago | 0

Answered
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 månader ago | 0

Answered
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/...

ungefär ett år ago | 0

Answered
Header files not generated
You are correct. Those files are not generated but rather are shipped with Simulink Coder/Embedded Coder.

ungefär ett år ago | 0

Answered
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...

mer än ett år ago | 0

| accepted

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Answered
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...

mer än ett år ago | 0

Load more