photo

Shivang Menon

MathWorks

Active since 2016

Followers: 0   Following: 0

I am a Training Engineer at Mathworks and an Electrical and Computer Engineer by education.

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Use Stateflow to react on physical parameters and adjust system parameters accordingly
Question has been answered at - <https://www.mathworks.com/matlabcentral/answers/329023-implement-switch-with-stateflow-input-in...

7 years ago | 0

Answered
Variable types in coder generated C - use in existing C codes
In generated code, MATLAB represents dynamically allocated data as a structure type called emxArray. This is the structure that ...

7 years ago | 0

| accepted

Answered
Does Matlab for arduino have support for eeprom?
The doc has some examples for communicating with EEPROM device. Refer to the following examples: <http://www.mathworks.com/he...

7 years ago | 0

Answered
Setup BuildDirSuffix based on rtwoptions
Yes, there is a way to do this. You can set the tlcvariable field for the rtwoptions parameter. This field is basically the para...

7 years ago | 0

| accepted

Answered
How to compile, using GNU GCC Raspberry Pi Simulink compiler, S-functions that need external libraries (.lib)?
Are you able to simulate the model? To compile the S-function, you can use the mex function - <https://www.mathworks.com/help/ma...

8 years ago | 0

Answered
Is it possible to callback model parameters for a matlab function block in a simulink model from right click/model properties/callbacks?
Right click on MATLAB Function block, go to properties, go to callbacks tab. For some reason, the property inspector of MATLAB F...

8 years ago | 0

Answered
Why temporal logic is ignored in my Stateflow chart?
The stateflow chart (and as a result, the subchart) will execute at every time step. If the time step is less than 0.2 sec, and ...

8 years ago | 0

Answered
HDL workflow advisor: how to make use of 'external port' in the target platform interfaces
To connect to FPGA external IO pins, for Bit Range / Address / FPGA Pin, enter a cell array of pin names. If you do not enter pi...

8 years ago | 1

Answered
Problem with referenced models that contain calls to source code (accelerated mode)
I understand you are trying to include custom code in a stateflow chart and use that model as a reference model in a top model. ...

8 years ago | 0

Answered
How do I set block parameter value using a Mask property?
I am not exactly sure why this warning is being thrown. However, there are a few relatively simple alternatives you can try, to ...

8 years ago | 0

| accepted

Answered
USING PERSISTENT VARS IN CUSTOM SIMULINK MATLAB FUNCTION
I understand that you want the persistent variables to remember their values in a MATLAB function block. I tried using persiste...

8 years ago | 3

| accepted