photo

Rajanya


Last seen: Today 自 2024 起处于活动状态

Followers: 0   Following: 0

统计学

MATLAB Answers

0 个提问
72 个回答

排名
3,302
of 297,503

声誉
16

贡献数
0 个提问
72 个回答

回答接受率
0.00%

收到投票数
2

排名
 of 20,449

声誉
N/A

平均
0.00

贡献数
0 文件

下载次数
0

ALL TIME 下载次数
0

排名

of 159,017

贡献数
0 个问题
0 个答案

评分
0

徽章数量
0

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
0 个亮点

平均赞数

  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

查看徽章

Feeds

排序方式:

已回答
How to display struct along filed?
Hi @msahar, Assuming 'S' is a structure with the given fieldnames and values, you can loop through the structure and create the...

2 days 前 | 0

已回答
csvwrite error: Undefined function 'real'
Hi @Donovan Magney, The error is because, in the code provided, the type of 'elementsMatrix' would be composite, mostly 'struct...

2 days 前 | 0

已回答
How to use 'pause' function in Matlab Function Block?
Hi @Harshil Patel, You can either set the 'Step size' of the solver to be equal to 'Stop Time' (assuming 'Start Time is 0') or ...

22 days 前 | 0

已回答
Switch case for subsystem ?
Hi @Steve, If you only want the result from the selected subsystem, you can use the 'Switch' block, with 'input' connected to t...

22 days 前 | 0

已回答
How can I change the mode value of a variant subsystem during simulation?
Hi @Mihnea, I don't think this would have been possible for the earlier versions (where using conditional subsystems would have...

29 days 前 | 0

已回答
How do i store Data types of Input and Outputs of a block in Simulink in a data dictionary ?
Hi @sachin narain, You can achieve the same if the entries are provided as Simulink parameters, like: parameter = Simulink.Par...

29 days 前 | 0

已回答
How to add_block Sum of Elements instead of Sum block ?
Hi @Henry Buck, You can set the 'Inputs' parameter of the 'Sum' block to just '+', which will make the block function as a 'Sum...

29 days 前 | 0

已回答
How do I change the initial value and final value parameters in a step change in Simulink from an m-file?
Hi @Gregory Bugli, The 'initial value' parameter in the 'Step function' is called 'Before' for programmatic use - refer here. ...

30 days 前 | 0

已回答
How can I change the annotations of a block in Simulink Simscape to reflect the value of the parameter?
Hi @Javier, You can use a block's 'AttributesFormatString' parameter to display the specified block parameter values below the ...

30 days 前 | 0

已回答
How to get names of input ports on simulink block?
Hi @Adam Truelove, You can utilize the 'get_param' function on any custom Simulink block that contains Inports or Outports to o...

30 days 前 | 0

已回答
Delete an array element using matlab function block in simulink
Hi @lorenzo angeloni, The reason for this error is that the code in the MATLAB Function Block is trying to change the size of t...

1 month 前 | 0

已回答
Load parameters from .MAT to simulink block
Hi @Andres Yie, You can add a 'push button' to the mask of the custom block which will help select files, as and when needed, w...

1 month 前 | 0

已回答
How to pass pointer arguments in Simulink for auto-generated code?
Hi @Sourabh, You can determine how the code should be generated for subsystem blocks by the 'Function Packaging' parameter, whi...

1 month 前 | 0

已回答
Why is "Navigate to C/C++" greyed out?
Hi @MrPowerElectronics, I was able to reproduce this issue. This arises when the model is not configured to map to code. Chec...

1 month 前 | 0

| 已接受

已回答
Number of arithmetic operations in Simulink model
Hi @Pavel, You can leverage the use of 'BlockType' parameter in find_system function to find the names of all the blocks matchi...

1 month 前 | 0

已回答
How to create simulink Data dictionary by using a command in a matlab script ?
Hi @sachin narain, You can leverage MATLAB's APIs for creating and adding entries to a data dictionary programmatically. The fu...

1 month 前 | 0

已回答
Keep output value from a switch block constant for the rest of the simulation time at time when switch output first one?
Hi @zarzis rony, You can achieve the same with a combination of a 'OR' and a 'Memory/Delay' block. If the 'Memory' block is c...

1 month 前 | 0

已回答
Save data after each simulation
Hi @Mucenica Claudiu, You can use the 'assignin' function of MATLAB for this purpose to store the output obtained from a simula...

1 month 前 | 0

已回答
Matlab Simulink without matlab function access
Hi @Bruno Peixoto, I recommend to double check the name of the MATLAB function block before executing the 'find' function using...

1 month 前 | 0

已回答
Finding series of values within array
Hi @Oscar, Based on your explanation and code, I understand that you are trying to find out all the elements in an array that h...

1 month 前 | 0

已回答
Problems associated with derivative blocks in simulink
Hi @Zi Huang, The flat line observed in the scope is mostly because of the Y-axis scale used. Because of the abrupt spike at t=...

1 month 前 | 0

已回答
how to call matrix from workspace into simulink and return it in workspace?
Hi @Saeed Ahmadzadeh Mahboobi, The error is likely in the definition of the function in the MATLAB function block itself since ...

1 month 前 | 0

已回答
Initialise Simulink variables for one subsystem from a mask of another subsystem
Hi @Mathew Thorne, After ensuring that the parameter field(popup/edit etc.) is configured correctly in the mask, the 'assignin'...

1 month 前 | 0

已回答
How can i scan data and store it in an array?
Hi @Hardika Jain, The reason for this error is mostly because the left and right side of the below assignment has different num...

1 month 前 | 0

已回答
Removing comas from the text file
Hi @Anusha, You can use 'strrep' to replace the comas in the text file with blank spaces. Refer to the documentation to know ...

1 month 前 | 0

已回答
Table formatting to combine the variable names as sub header
Hi @ppp, You can create two separate tables (one for storing ‘corners’ data and one for storing ‘no’ data), entries initialised...

3 months 前 | 0

已回答
How to find the quartiles of an array?
Hi @RB, You can use 'prctile' on the flattened array to calculate the 25th percentile which in turn will give you the first qua...

3 months 前 | 0

已回答
Trying to add borders to a table to save as .txt
Hi @Mike, I was able to reproduce the error. The error is because of wrong usage of the ‘append’ function which is being done p...

3 months 前 | 0

已回答
Get samples from audioplayer object
Hi @Ryan Sinfield, I understand that you are trying to get the audio data from the 'audioplayer' object after it has been insta...

3 months 前 | 0

已回答
Expected either a logical, char, int, fi, single, or double. Found an mxArray.
Hi @Sabrine Samorah, I was able to reproduce the error. The reason for this error is that when you declare a function as ‘extri...

3 months 前 | 0

加载更多