photo

Soham Sinha


Last seen: 2 years ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

Question


Code Generation Order for Initialization code in Simulink
Is there any way to control the code generation order for the initialization function of a model? For example I have an initial...

3 years ago | 1 answer | 0

1

answer

Question


How to generate RTW file programmatically?
Is there any API to generate only the rtw file programmatically for a subsystem or a model? For example, slbuild builds the ent...

3 years ago | 1 answer | 0

1

answer

Question


How to package generate code and header files on the basis of subsystems?
Suppose, I have two subsystems in my model: SubA and SubB, how can I generate and create two subfolders, named SubA and SubB, wh...

3 years ago | 1 answer | 0

1

answer

Question


How to disallow string in block mask parameters?
How can I apply a constraint to a block mask parameter so that when a string is entered in the dialog block mask parameter, it i...

3 years ago | 1 answer | 0

1

answer

Question


How to pass a string dialog (masked) parameter to TLC file for a Level-2 MATLAB S-function?
I have a Level-2 MATLAB S-function block. I have created masked dialog parameters named param1. I want to pass it to the corresp...

3 years ago | 1 answer | 0

1

answer

Question


How to write append a few lines in model_initialize function for a MATLAB function block in Simulink?
I am creating a MATLAB function block in Simulink. For that function block I want to append a few lines of code in the model_ini...

3 years ago | 1 answer | 0

1

answer

Question


How to set an input/output data type based block mask parameters?
In a MATLAB function block of simulink, I want to set the output data type based on the block's mask parameter values. However, ...

3 years ago | 1 answer | 0

1

answer

Question


How to determine source block of an input port in Simulink?
I am writing a Matlab Function Simulink block which has an input. I want to determine the source of the Input port in the Matlab...

3 years ago | 1 answer | 0

1

answer

Question


"Generate Code Only" throws error for MATLAB block in Simulink
I want to generate C code from a Simulink model. My Simulink model has a MATLAB block. In the MATLAB block, I have called extern...

3 years ago | 1 answer | 0

1

answer

Question


How to programmatically get input and output types for C code generation in Matlab Coder?
I want to write custom initialization and termination functions in Matlab Coder for C source code generation. I know that I coul...

3 years ago | 0 answers | 0

0

answers