![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/34607008_1723029806875_DEF.jpg)
Rajanya
Followers: 0 Following: 0
統計
MATLAB Answers
0 質問
68 回答
ランク
of 157,776
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
回答済み
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...
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...
6日 前 | 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...
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...
6日 前 | 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...
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...
7日 前 | 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. ...
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. ...
7日 前 | 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 ...
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 ...
7日 前 | 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...
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...
7日 前 | 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...
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...
8日 前 | 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...
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...
12日 前 | 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...
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...
15日 前 | 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...
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...
16日 前 | 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...
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...
18日 前 | 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...
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...
18日 前 | 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...
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...
19日 前 | 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...
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...
19日 前 | 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...
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...
19日 前 | 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...
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...
20日 前 | 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=...
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=...
20日 前 | 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 ...
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 ...
20日 前 | 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'...
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'...
21日 前 | 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...
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...
21日 前 | 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 ...
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 ...
22日 前 | 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...
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...
約2ヶ月 前 | 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...
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...
約2ヶ月 前 | 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...
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...
約2ヶ月 前 | 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...
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...
2ヶ月 前 | 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...
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...
2ヶ月 前 | 0
回答済み
Get audio signal from audiplayer object
Hi @dan bloodworth, The ‘audioplayer’ object does not provide direct access to the audio or signal data, as it does not expose ...
Get audio signal from audiplayer object
Hi @dan bloodworth, The ‘audioplayer’ object does not provide direct access to the audio or signal data, as it does not expose ...
2ヶ月 前 | 0
回答済み
Error with nlinfit and it said Index exceeds the number of array elements (1)
Hi @Aaron Lee, I have been able to reproduce the issue at my end and the error is because the function ‘nlinfit’ demands its ‘b...
Error with nlinfit and it said Index exceeds the number of array elements (1)
Hi @Aaron Lee, I have been able to reproduce the issue at my end and the error is because the function ‘nlinfit’ demands its ‘b...
3ヶ月 前 | 0
回答済み
How to click and sort a header in uiTable?
Hi @Gili Attias, As per my information, MATLAB's ‘uitable’ does not provide built-in support for sorting columns directly by cl...
How to click and sort a header in uiTable?
Hi @Gili Attias, As per my information, MATLAB's ‘uitable’ does not provide built-in support for sorting columns directly by cl...
3ヶ月 前 | 0
回答済み
How to Export and append in a csv file?
Hi @MICHELE, I’ve been able to reproduce the issue on my end and it seems the error you are facing stems from the fact that ‘dl...
How to Export and append in a csv file?
Hi @MICHELE, I’ve been able to reproduce the issue on my end and it seems the error you are facing stems from the fact that ‘dl...
3ヶ月 前 | 0