Community Profile

photo

Mark McBroom


Last seen: 3日 前

MathWorks

270 2012 年以降の合計貢献数

連絡する

Mark McBroom's バッジ

  • CUP Challenge Master
  • 6 Month Streak
  • Knowledgeable Level 3
  • Revival Level 3
  • First Answer
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
coder.extrinsic may not occur inside an expression. It may only occur at the top-level.
coder.extrinsic('jsonencode'); jdata - jsonencode(data);

28日 前 | 0

回答済み
Unable to Build Simulink model with embedded coder
It looks to me like the minGW make command is having a problem with the directory name "ruhi.phulbandhe". My suggestion would be...

約1ヶ月 前 | 0

回答済み
Does Simulink support CORBA?
MathWorks does not provide CORBA capability and I am alson not aware of any third party add-on support for CORBA. MathWorks d...

2ヶ月 前 | 1

| 採用済み

回答済み
Use struct data from MATLAB workspace in Stateflow
Added 19b version.

2ヶ月 前 | 0

回答済み
Use struct data from MATLAB workspace in Stateflow
In Stateflow, define your struct A as a Parameter. See attached example.

2ヶ月 前 | 0

| 採用済み

回答済み
Passing bus signals through a switch block
Are you using Simulink Bus Objects to define the child buses? If not, try creating a Simulink.Bus object and setting the dataty...

2ヶ月 前 | 0

| 採用済み

回答済み
Generate Parameters as input to step function
I don't believe this is possible for C++ code gen, but is possible for C code generation. You have to place the parameters in t...

3ヶ月 前 | 0

回答済み
Interface/communicate data between SIMULINK and a C-program running on the same computer
If you have the source code for the C program, the best approach is to create a new Simulink block that contains your C code mod...

3ヶ月 前 | 0

回答済み
Vacuum and Radiative Heat Model
You should be able to use the Simcape Thermal library. The vacuum would be modeled with ~zero convection https://www.mathwor...

3ヶ月 前 | 0

回答済み
Circuit Analysis using MATLAB
https://www.mathworks.com/help/symbolic/solve-differential-equations-using-laplace-transform.html

3ヶ月 前 | 0

回答済み
Simulink. Is it possible to get the area's position by programming?
handle = find_system(gcs, 'FindAll', 'on', 'type', 'annotation', 'AnnotationType', 'area_annotation', 'selected', 'on') get_par...

3ヶ月 前 | 1

| 採用済み

回答済み
How to compile simulink models with variables of big size in the simulink workspace?
The problem is that the array is so big it causes the visdual studio compiler to fail due to lack of heap space. You can try to...

3ヶ月 前 | 0

回答済み
SIMULINK Datatype mysmatch error
In Shift Arithmetic block, make sure the "Binary points to shift" is set to zero.

3ヶ月 前 | 0

回答済み
Single-Instance vs Multi-Instance Embedded Coder?
For single instance the generated code will use global data to hold state and parameter information. For multiple instance, st...

3ヶ月 前 | 0

| 採用済み

回答済み
Motor Control Blockset examples: Using variant source block
Those are functions, not variables. They are p-coded M-Files that are shipped with the example. Type the following to see wher...

3ヶ月 前 | 0

| 採用済み

回答済み
How to check files in a specified directory through Simulink?
As long as you don't need to generate C code from your SImulink model, use the coder.extrinsic function to notify Simulink that ...

3ヶ月 前 | 1

回答済み
Custom data types for S-function parameters
The easiest way to do this is to use the legacy_code tool to create the s-function for you. You will have to create a dummy c-f...

3ヶ月 前 | 0

| 採用済み

回答済み
Bus communication between charts in Stateflow
Simulink buses become structures in Stateflow. This link expains how a bus in a Simulink model becomes a structure in stateflow...

3ヶ月 前 | 0

回答済み
How can I stop the recompile of the model after first run to quicken the simulation time ?
make the parameters for INputX and InputY to be tunable workspace parameters. https://www.mathworks.com/help/xpc/ug/tuning-bloc...

4ヶ月 前 | 0

回答済み
How to get all input signal names connected to my simulink block exported in excel file?
Here is one approach: Write MATLAB code that: use find_system() command to get list of all input ports at top level of model...

4ヶ月 前 | 0

回答済み
Simulink: Access bus element properties
Here is one approach that might work. It requires some knowledge of block masking. Create a subsystem. Inside the subsystem...

4ヶ月 前 | 0

| 採用済み

回答済み
S-Function does not exist
Make sure that the .m files are in the MATLAB current working directory or on the MATLAB path.

4ヶ月 前 | 0

回答済み
S-function for static library
The library you built in Code COmposer studio is for a TI processor. S-Functions are built to run on Windows ( or LInux) and th...

5ヶ月 前 | 0

| 採用済み

回答済み
How to call C custom variable or constant in Simulink Model
not sure what you mean by "call", but one solution would be to put the variable inside a C function that simply returns the cons...

5ヶ月 前 | 0

回答済み
To worspace not showing
To Workspace should work in rapid accel mode. Does TIME appear in the workspace? Does your data appear on workspace in norma...

5ヶ月 前 | 0

回答済み
Why I get an error when generating a cell array as an output of a simulink function?
First, it looks like you ahve a typo... should "Counter" be "count"? But that isn't the reason for the error. I think the prob...

5ヶ月 前 | 0

回答済み
Removal of RT_MODEL variables in code generation
Look in TEST.h. What is in the data structure RT_MODEL_TEST? If there is an error_status variable, you can disable via this co...

5ヶ月 前 | 0

| 採用済み

回答済み
Use Mfile's user defined function in the Simulink's Matlab Function Block.
Your function isn't named RhosatLiq, it is named fcn. Change it to be : function RSL = RhosatLiq(Tsat) %Calculate the Saturat...

5ヶ月 前 | 0

回答済み
Errors while building mex
I believe the 4 missing symbols are functions normally provided by the AUTOSAR RTE. Simulink and Embedded coder do not generate...

6ヶ月 前 | 0

回答済み
Dimension Mismatch between Simulink Bus and Calculation Results
The easiest approach is to set the variable that holds the result to be a fixed length vector with a length equal to the larges...

6ヶ月 前 | 0

| 採用済み

Load more