photo

Ayush Singh


Last seen: 4 months ago Active since 2022

Followers: 0   Following: 0

Statistics

All
  • 3 Month Streak
  • Knowledgeable Level 3
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
How to Install Signal Builder in Matlab 2023b
Hi feng, In MATLAB R2023b, the Signal Builder block is considered outdated, and it is recommended to use the 'Signal Editor' bl...

4 months ago | 0

Answered
Conditional Compilation for code generated from Simulink Model
Hey wenchao, To control the inclusion of specific blocks during the code generation process in Simulink, you can use conditiona...

4 months ago | 0

| accepted

Answered
Looping UI Tree Node
Hi Danny, Yes, you can use a loop to create multiple `uitreenode` objects programmatically. Below is an example of how you can...

4 months ago | 0

Answered
How to programatically disconnect from Target Hardware inside Simulink?
Hey cody, To achieve the desired workflow given by you where you do not want to execute from command window or click Button in ...

4 months ago | 0

Answered
How to modify property values in app designer?
Hi Radu, To read variable values from a .TXT file and set your MATLAB App Designer properties to these values, you need to ensu...

5 months ago | 0

Answered
Use datatips within App Designer
Hey ScottE, Adding custom datatips (tooltips) directly to UITable components for individual cells is not natively supported in ...

5 months ago | 0

Answered
Encoding conditional assignments in SimBiology
Hey emjey, In SimBiology, conditional assignments like the one you described are not directly supported in the same way as typi...

5 months ago | 1

| accepted

Answered
App designer menu shortcuts with numpad numbers
Hi Adrien, From my understanding you want to use the numpad numbers along with some keyboard keys for shortscuts for menu in ap...

5 months ago | 0

Answered
Using matlabFunction to run solve() in a deployed app
Hey Mahdi! The approach you are taking is correct in using `isdeployed` to differentiate between development and deployment env...

5 months ago | 0

Answered
Cannot see some section of code in appdesigner
Hi Govind! In order to see the hidden code, you can try the following: Go to 'View' tab and under 'Code Folding' click 'Expand...

5 months ago | 0

| accepted

Answered
Python can't send value to simulink constant block
Hi Yeow, I am assuming you want to assign values to constant blocks u1 and u2 from Python and extract values of x1 and x2 after...

5 months ago | 1

| accepted

Answered
Create a mock with behavior based on specific input
Hey Jeevraj! To test the myMethod of MyClass with different inputs using mocks in MATLAB, you can use the MATLAB Unit Test Fram...

5 months ago | 0

| accepted

Answered
Change localized help to English
Hi Florian, Please refer to the following documentation to change the language to English or any other preferred language: htt...

5 months ago | 0

Answered
importation of code matlab in LabView
Hey Khilfi, I see you are trying to open a MATLAB script in LabView. The message that you received typically means that the MA...

5 months ago | 0

Answered
Why can't I see the component library when I open my app designer?
Hi, The problem lies in persisting the panel layouts. The UIContainer framework saves the side panel layout information in a ...

5 months ago | 0

Answered
How do you disable Matlab update notifications?
Hi Joe, The only way to prevent these messages from appearing is by installing the MATLAB update. There is currently no option ...

5 months ago | 0

Answered
How to plot time from 0-24?
Hello Ara To plot GPS time in both Universal Time (UT) and Local Time (LT), you need to convert the GPS time to hours and then ...

5 months ago | 1

| accepted

Answered
For loop for symbolic expressions
Hi Debjyoti, The functionality which you require can be achieved using MATLAB's Symbolic Math Toolbox. This process can be auto...

5 months ago | 0

Answered
'fl:filesystem:PathNotFound' was caught. error came back
Hi Matthew, The 'fl:filesystem:PathNotFound' error in MATLAB indicates that MATLAB cannot find a specified file or directory pa...

5 months ago | 0

Answered
How to do fast fourier analysis of first harmonic in matlab?
Hey Davide, To perform a task similar to Simulink's Fast Fourier Transform (FFT) analysis in MATLAB and extract the magnitude a...

5 months ago | 0

Answered
Compatibility with SysML?
Hey Arun, For checking the compatibility of SysML version 1 or 2, you can refer the following documentation: https://www.mathw...

5 months ago | 0

Answered
Convert MATLAB .m Files to a .jar File for Use in a Java Project in MATLAB R2024a
Hi Carlo, I think you want to incorporate the functions written in '.m' file in a Java Project Please refer to the first secti...

5 months ago | 0

Answered
Named arguments of .mlapp don't auto complete
Hi Jan, I tried the same steps at my end and I was able to get the auto completion option in App Designer as well. Suppose you...

5 months ago | 0

Answered
can't find Init button by double click the Init subsystem inside the Rx block
Hey xufei, After going through the documentation, I followed the steps given on the following page: https://www.mathworks.com/...

5 months ago | 0

| accepted

Answered
How to save the values of data tips of a plot
Hi Neelakandan, You can achieve saving the data tip values of a plot to some variables in the App Designer by creating data tip...

6 months ago | 0

Answered
Matab is very slow in processing figures: might it be caused by NVidia Optimus?
Hi Serbring, In order to see which GPU MATLAB is using you can run the following command: gpuDevice The 'gpuDevice' function ...

6 months ago | 0

Answered
Can we set programmatically parameters of 'Permanent Magnet Synchronous Machine' block?
Hi Nicolas, In order to set the parameters of 'Permanent Magnet Synchronous Machine' block, you can use 'get_param' and ' set_p...

6 months ago | 0

| accepted

Answered
Unable to resolve the name 'out.EM_n'
Hi Davide, By default 'Save data to workspace or file' is set to 'Single simulation output', so Simulink saves all the simulati...

6 months ago | 0

Answered
Display all the traffic going through a Can chanel, App Designer.
Hello Luc As I can interpret, you want to display all the traffic going through on CAN channel on TextArea in your case. As fa...

6 months ago | 0

| accepted

Answered
Restore View returns the axis of an old data set when the dataset is changed.
Hey Shawn, The issue you are encountering sounds like it is related to the way MATLAB's zoom functionality is interacting with ...

6 months ago | 0

| accepted

Load more