Community Profile

photo

TAB


Last seen: 대략 1년 전 2011년부터 활동

Followers: 0   Following: 0

연락

통계

All
  • Guiding Light
  • Revival Level 2
  • Commenter
  • Solver
  • Personal Best Downloads Level 1
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • 6 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 5

배지 보기

Feeds

보기 기준

질문


Dynamically increasing propery size in object
Hello Everyone, I know dynamically increasing array size (without pre-allocation) is not good for performnace and there are sev...

2년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
Sequential batch processes in Simulink
In Simulink, you can not start different subsystems at different time. When you start simulation at t=0, all block in the model ...

5년 초과 전 | 0

답변 있음
How can I find out the subsystem computation time for each tilmestep?
Use *Simulation profiler* (not Solver profiler) to check profile info of blocks in the model. <https://in.mathworks.com/help/...

5년 초과 전 | 1

답변 있음
What is the technical rationale behind warning diagnostics for vector/matrix block input conversion?
Its part of <https://in.mathworks.com/help/simulink/high-integrity-systems.html High Integrity System Modeling guideline>. Pl...

5년 초과 전 | 0

답변 있음
How to build an S-function with nested C++ source code? (The source code has a lot of folders and sub-folders)
There are multiple ways to integrated you leagcy c/c++ code into a s-function. Please check below references 1. <https://in....

5년 초과 전 | 1

답변 있음
Infinite while loop in Matlab function block
I guess, you are trying to run the loop for checking _Moisture_Sensor_area_1_OUT<Moisture_instruction_min_ condition for every s...

5년 초과 전 | 0

답변 있음
Force update scope window when running rapid accelerator mode from command line
Scope will not update with *sim* command, but it works with *SimulationCommand* (please dont ask why :P) set_param('MyModel...

5년 초과 전 | 1

| 수락됨

답변 있음
How can I create a Mex function from a generated C code from Simulink Coder?
Simulink model (and also generated code) is designed to run on a *solver* which is part of Simulink tool but not present in Matl...

5년 초과 전 | 0

| 수락됨

답변 있음
Subtraction of two single-precision arrays reuslts in an integer (?) array
Values in your arrays frame_1 & frame_2 are such that, difference is always a whole number (fraction part is 0). So they appear ...

5년 초과 전 | 1

| 수락됨

답변 있음
How to exclude Simulink blocks from code generation?
If you want to exclude some blocks from *Simulion and Code Generation*, then you can comment them out. As far I know, there i...

5년 초과 전 | 0

답변 있음
Generate a variable bus from within a mask in Simulink
You need to use evalin or assign in functions to create required variable in base worksspace from Mask workspace. For example...

5년 초과 전 | 0

| 수락됨

답변 있음
Can I find where a Simulink.Signal object is stored based on a Data Store Read/Write in the model?
If Simulink.Signal object name is "x" >> varInfo = Simulink.findVars('MyModel','Name','x') varInfo = Vari...

5년 초과 전 | 1

| 수락됨

답변 있음
Distinguish MATLAB Library & Custom Library
libdata = libinfo(gcb); libdir = which(libdata(1).Library, '-all'); If libdir have a matlab installation path, then it i...

5년 초과 전 | 0

| 수락됨

답변 있음
convert an enum to another type of enum
If your enums definitions are compatible, then you can convert them directly in Simulink using "Data Type Conversion" block. ...

5년 초과 전 | 1

| 수락됨

답변 있음
S-Function Builder. Error using mex: error LNK2019 unresolved external symbol 'Function' referenced in function XXX_Output_wrapper
S-function builder builds and produce output mex file directly. Why you need to compile them seprately ? However.... In S-...

5년 초과 전 | 0

답변 있음
What is the token of the block property Function Packaging?
This is not listed in token list. %<RTWSystemCode>

5년 초과 전 | 1

| 수락됨

답변 있음
How to work on objects in the workspace from Simulink
If these objrcts are not supported by any Simulink toolbox, then you can not use them directly in Simulink. But you can extra...

5년 초과 전 | 0

답변 있음
Generate ramp signal for a certain time in simulink
Function which you have written will generate whole Ramp in just onec call (one sample). In Simulink, this function will be c...

5년 초과 전 | 0

답변 있음
Trigger mode and time range setting support in Simulation data inspector?
There are several options to solve your problem. Carefully check the setting in <https://in.mathworks.com/help/simulink/gui/data...

5년 초과 전 | 0

답변 있음
Supress simulink from evaluating initialisation commands while editing
You can check model simulation status on mask initialization to decide whether to run your command or not. if ~strcmpi(get_...

5년 초과 전 | 0

| 수락됨

답변 있음
1 library block is generated in autocode as 2 different functions. How can I generate 1 common function?
In Subsystem block parameter dialog, goto "Code Generation" tab and select "Function Packaging" as "Reusable function". Check...

5년 초과 전 | 0

답변 있음
Display signals from the activated variant subsystem in a sleek manner
Another way is to *log* the signal to base workspace and anlyze on Simulink Data Inspector. You can connect just *Terminate* ...

5년 초과 전 | 0

답변 있음
How to read a value of S function popup in C code?
Just like Inputs and Outputs there are S-function APIs to access the parameters. Please check <https://in.mathworks.com/he...

5년 초과 전 | 0

| 수락됨

답변 있음
Struct as input to a Simulink MATLAB Function block
Check below links: <https://in.mathworks.com/help/stateflow/ug/working-with-structures-and-bus-signals-in-matlab-functions.ht...

5년 초과 전 | 1

답변 있음
Dashboard Lamp Covered by Annotation
# Double click on the Lamp to open Block Parameter Window. # At the bottom of Window make "Label" = Hide in dropdown option.

5년 초과 전 | 0

| 수락됨

답변 있음
How to have multiple seeds for random generation in Simulink?
# In Child model --> Create Model parameter for seed. # In "Model Block" in Parent model --> Pass the seed value in "Model Arg...

5년 초과 전 | 0

| 수락됨

답변 있음
getting the arrays stored for Simulation Data Inspector to plot in Scope Block?
Simulink Data Inspector (SDI) stores the previous simulation plots in %TEMP% folder in binary format (file name USERNAME_sdi*.dm...

5년 초과 전 | 0

| 수락됨

답변 있음
How to find execution time of a block inside a SIMULINK file?
May be you need to use Simulink Profiler. <https://in.mathworks.com/help/simulink/examples/introduction-to-profiling-models.h...

5년 초과 전 | 0

답변 있음
How to make a Simulink block constant, execute only once?
Put your child model in Enabled Subsystem in parent model. [parent.slx [Enabled Subsystem [Enchild.slx]]] Enable the sub...

5년 초과 전 | 1

| 수락됨

답변 있음
Extract rows from a matrix input signal in TLC files
I assume you are trying to inline S-function for C-code generation. Simulink Coder (and also Embedded Coder) handles 2-D arra...

5년 초과 전 | 0

| 수락됨

더 보기