photo

Dinesh


Last seen: 3 månader ago Active since 2024

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
Code-snippets in Live Scripts?
Hello, These lines that you use very frequently can be defined as a string variable. Then, you can make use of the "eval" funct...

3 månader ago | 0

Answered
Can I use simulink.signal in variant Subsystem?
Hello, Yes, you can use "simulink.signal" as a variant condition expression. I see that you have defined objects of "Simulink....

3 månader ago | 0

Answered
How to remove fading effect in Variant subsystem
Hello, As of R2024a, you can turn off the fading effect of inactive variant choices by setting the "VariantFading" value to "of...

3 månader ago | 0

Answered
model reference variants control using block mask parameter
Hi, The following documentation link will help you achieve this: https://www.mathworks.com/help/simulink/ug/approaches-to-contr...

3 månader ago | 0

Answered
How to increase performance of variant subsystems?
Hi Lucas. Over the years, there have been many improvements and new features added in "Variant Subsystem". I don't think you wo...

3 månader ago | 0

Answered
Using block variant source in mask
Hi Rafaela. I think that you have defined the variant control expression using "Simulink.VariantExpression" which is currently ...

3 månader ago | 0

Answered
how can I select variant by script
Hello. Yes, this can be achieved if you make use of the "MATLAB Function" block. In the Simulink model where you have the "Vari...

3 månader ago | 0

Answered
App Designer and Simulink Interchange
Hello. I don't think there is a direct way to interact between App Designer and Simulink. You might need to use MATLAB workspac...

3 månader ago | 0

Answered
Setting initial working folder in linux
Hello Yashas. As of version R2024a, the default setting is in such a way that your previous working directory will be opened. ...

3 månader ago | 0

| accepted

Answered
How to display the image of a scope in simulink in real time on matlab app designer?
Hello. In order to achieve this, you can make use of "Timer" in App Designer. I'm assuming that you already have a Simulink mo...

3 månader ago | 0

Answered
csv 파일 데이터를 이미지 데이터로 변환하는 방법
Hello. I see that you have a CSV file and want to convert it to an image and save it using MATLAB. In order to do that, please...

3 månader ago | 0

Answered
variant control 'VID==0" used by the block
Hello, When you define a variant control inside a variant block, it is assumed that you also have created the variant present i...

6 månader ago | 0

Answered
How can I reduce the execution time of my code?
Hi Surath, Here are some optimizations that I could identify in your code: Precompute Reusable Values: Avoid repetitive comput...

6 månader ago | 0

Answered
How to use geoplot not to show right bottom annotation?
Hello, It's not possible to eliminate the specific annotation that you mentioned. This is integrated into the geobasemaps, whic...

6 månader ago | 0

Answered
Advanced matlab function autocompletion based on previous input
Hello, As per my understanding, MATLAB does not natively support dynamic, context-sensitive autocompletion for user-defined fun...

6 månader ago | 0

Answered
code to replace Variant subsystem in a simulink model with library of its active variant
Hi Laila, "Configurable Subsystem" was introduced earlier than "Variant Subsystem". As per my understanding, "Configurable Subs...

6 månader ago | 0

Answered
How can i get past this MathWorks Product Installer GUI Bug? The Yes button is hidden.
Hi Changheon, I'm not able to reproduce this issue on my end. As a workaround, you can retry the process. If that doesn't work...

6 månader ago | 0

Answered
How do I resolve "Error while evaluating TimerFcn for timer 'timer-1"?
Hi Gary, When you use a timer to execute a certain piece of code, then you might encounter the error "Error while evaluating Ti...

6 månader ago | 0

Answered
Why does the Simulink.VariantExpression object in R2023b does not seem to be compatible with the Simulink.Variant object in R2017b
Hi Dan, The new class "Simulink.VariantExpression" is not recognized in R2017b. Hence, when you try to load the model in R2017b...

6 månader ago | 0

| accepted

Answered
how get min value of three dimensional data?
Hi Vedanta, I did not get any error while using the "nanmin" function. My code is as follows: % Generating Sample Data Data =...

7 månader ago | 1

| accepted

Answered
for-loop from an if-statement
Hello, You can put all the if, else-if and else conditions within the for loop itself. The following code runs for "N" times,...

7 månader ago | 1

| accepted

Answered
error related to configuration parameters
Hello, The error message does mention some of the possible reasons on why it occurs. You might need to first check if the direc...

7 månader ago | 0

Answered
5 level Multi inverter
Hello, For implementing a 5-level Space Vector Modulation (SVM) for a multilevel inverter in MATLAB, you'll need to understand ...

7 månader ago | 0

| accepted

Answered
while connecting server via matlab , C? How to resolve? without using passwor
Hello, The first step is to obtain an access token from the service that you are using. Then, you can include the access token...

7 månader ago | 0

Answered
How to use workspace values ​​as parameters in MatlabFunction?
Hello, In MATLAB functions, if you would like to use a variable from the workspace rather than the ones passed as function argu...

7 månader ago | 1

Answered
Rewrite the code be using vectorization instead of for loops and if statements.
Hello Bob. To vectorize the provided MATLAB code, start by reshaping the TLE data into a 2D matrix for batch processing. Utiliz...

7 månader ago | 0