photo

Rajanya


Last seen: Today 2024 年からアクティブ

Followers: 0   Following: 0

統計

  • 3 Month Streak
  • Knowledgeable Level 1
  • First Answer

バッジを表示

Feeds

表示方法

回答済み
How can I make it so a while loop doesn't stop if one of the elements in a vector going into it fulfills the condition?
Hi @Marcus, As correctly pointed by you, the loop stops because the condition in the while loop is in vectorized form and whene...

約8時間 前 | 0

回答済み
Using the parfor loop to minimize a function
Hi @george pepper, The MATLAB documentation of 'parfor' covers how to convert ‘for’ loops into ‘parfor’ loops. You can either s...

約9時間 前 | 0

回答済み
Too many output error message when using function in a for loop
Hi @Brian Hom, The error occurs because the function ‘RFp2overp1’ does not return a value, but the following line in your code ...

約9時間 前 | 0

回答済み
Skip for loop iteration if it takes too long to run
Hi @Gauri Kant, You can use the ‘parfeval’ function from MATLAB's Parallel Computing Toolbox to accomplish this, as it allows y...

1日 前 | 0

回答済み
Error using dtstr2dtvecmx Failed on converting date string to date number. Error in datevec (line 117) y = dtstr2dtvecmx(t,icu_dtformat);
Hi @Gregory, I was able to replicate the issue and encountered the same error. The error arises because ‘C_data{1,13}’ contai...

2日 前 | 0

回答済み
Average data through the date
Hi @Thaís Fernandes, From the example provided, it appears you want to calculate average temperatures for specific dates by gro...

2日 前 | 0

回答済み
set the value of multiple fields in an existing struct
Hi @Toolman Thoolen, I understand that you are willing to update the field values in the first structure with the field values ...

2日 前 | 0

回答済み
Want to have an input in while loop
Hi @Abdulaziz Almuammar, You can use ‘inputdlg’ for this purpose to request input from the user. The following line prompts t...

3日 前 | 0

回答済み
Is it possible to access all nested structures in symmetrical struct tree?
Hi @Jostein Holmgren, You can use ‘structfun’ for this purpose. It applies a function to each field in a scalar structure. For ...

4日 前 | 0

| 採用済み

回答済み
Binary search of strings/chars
Hi @Jacek Szkutnik, I understand you are aiming to utilize the time efficiency of binary search on a cell array of characters o...

6日 前 | 0

回答済み
Problems with matlab calls to starccm+
Hi @ASIDUN, You can refer to the following question which also talks about linking Star CCM+ with MATLAB. https://www.mathwork...

7日 前 | 0

回答済み
Diagnostic viewer output in command window?
Hi @Erik Malmlöf, You can use the ‘sldiagviewer.diary’ function to log the diagnostic messages. sldiagviewer.diary type diar...

8日 前 | 0

回答済み
If Action Subsystem block
Hi @Adham, It can be a good idea to just use iterator blocks if you're looking for a loop. But if you strictly want the 'If Act...

10日 前 | 0

回答済み
How to link data dictionary variable to an outport??
Hi @satyarajasekhar manne, I understand that you want to link variables from your data dictionary to blocks and ports in your S...

10日 前 | 0

回答済み
How to increase buffer size parameter.
Hi @ovais nazir, I understand that you're addressing the warning message about updating the buffer size parameter for code gene...

11日 前 | 0

回答済み
Saving data from simulink to Database
Hi @David Razo, I understand that you are trying to store sampled data from a Simulink model in a database after every 5 second...

約1ヶ月 前 | 0

回答済み
Write date to mySQL with millisecond precision
Hi @Benjamin Lemmer, I understand that you are trying to insert data containing ‘datetime’ values with millisecond precision in...

約2ヶ月 前 | 0

回答済み
mysql values not updating
Hi @Arvind Iyer, I understand that you are trying to update values in a table corresponding to a database in MySQL. Given that ...

約2ヶ月 前 | 0

回答済み
How can I programmatically override referenced configuration parameters?
Hi @Jonathan Adams, I understand that you are trying to control the configuration parameters of a reference model programmatica...

約2ヶ月 前 | 0

回答済み
Teleport To Another State Without Using Transition Arrow?
Hi @Amjad, I understand that you are trying to control the state-transitioning in Stateflow programmatically for both in-chart ...

約2ヶ月 前 | 0

回答済み
How to access Bus Ports parameter from action bar in Buscreator/Busselector blocks?
Hi @Dhines, I understand that you want to access and control the ‘Bus ports’ parameter from action bar in a ‘Bus Creator/ Bus S...

約2ヶ月 前 | 0

回答済み
How to add Extracted parameters from Excel file to a data dictionary as a Simulink Parameter Using matlab Code
Hi @Mohamed, I understand that you want to extract rows from an excel file as Simulink parameters and add them as entries to a ...

約2ヶ月 前 | 0

回答済み
Creating a resettable timer in Simulink
Hi @Bernaise Anders, I understand that you are trying to build a resettable clock system which can reset itself and start count...

約2ヶ月 前 | 0

回答済み
Call C code function from Stateflow with an array as an input
Hi @Ken Seiders, I understand that you are trying to call a C function which takes an array as an argument, from a Stateflow ch...

2ヶ月 前 | 0

回答済み
Hiding container of a mask using callback/dynamically
Hi @Naman Jain, I understand that you are trying to control the visibility of containers based on a popup parameter value. I wa...

2ヶ月 前 | 0

回答済み
How to change the name of external inputs/outputs in generated code?
Hi @Maksim Sorin, I was able to reproduce the issue on an example Simulink model. The structures generated were as follows: ...

2ヶ月 前 | 0

回答済み
Error trying to build an s-function in C
Hi @Pierre-Olivier Desrosiers, I understand that you are trying to make a Simulink model with S-function in C. I was able to re...

2ヶ月 前 | 0

回答済み
Variable size signal for integrator in Simulink
Hi @Sam136, I understand that you are passing a variable size input to the integrator block and therefore, Simulink throws the ...

3ヶ月 前 | 0

回答済み
How to break FOR loop in simulink
Hi @minhkiyo, I understand that you want to implement a break logic in the ‘for iterator’ subsystem in Simulink. Although the...

3ヶ月 前 | 2

回答済み
How to update variant subsystem in Test Sequence?
Hi @Xiang Wang, I understand that you want to automate the testing of your subsystems by using the ‘test sequence’ block to swi...

3ヶ月 前 | 0

さらに読み込む