photo

Rajanya


Last seen: Today Aktiv seit 2024

Followers: 0   Following: 0

Statistik

  • 3 Month Streak
  • Knowledgeable Level 1
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Beantwortet
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...

etwa 20 Stunden vor | 0

Beantwortet
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...

etwa 20 Stunden vor | 0

Beantwortet
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 ...

etwa 20 Stunden vor | 0

Beantwortet
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...

2 Tage vor | 0

Beantwortet
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...

3 Tage vor | 0

Beantwortet
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...

3 Tage vor | 0

Beantwortet
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 ...

3 Tage vor | 0

Beantwortet
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...

4 Tage vor | 0

Beantwortet
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 Tage vor | 0

| akzeptiert

Beantwortet
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...

7 Tage vor | 0

Beantwortet
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 Tage vor | 0

Beantwortet
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...

9 Tage vor | 0

Beantwortet
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...

11 Tage vor | 0

Beantwortet
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...

11 Tage vor | 0

Beantwortet
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 Tage vor | 0

Beantwortet
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...

etwa ein Monat vor | 0

Beantwortet
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...

etwa 2 Monate vor | 0

Beantwortet
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 ...

etwa 2 Monate vor | 0

Beantwortet
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...

etwa 2 Monate vor | 0

Beantwortet
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 ...

etwa 2 Monate vor | 0

Beantwortet
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...

etwa 2 Monate vor | 0

Beantwortet
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 ...

etwa 2 Monate vor | 0

Beantwortet
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...

etwa 2 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 2

Beantwortet
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 Monate vor | 0

Mehr laden