已回答
Scaling a PNG image inside a Panel in a MATLAB APP
Hi, From my understanding of your post, you are looking to make an image that exists inside a panel of your MATLAB app resize a...

1 year 前 | 0

已回答
How to properly connect to TI F28025C for code generation and model debugging?
Hi Raul, From your description of the issue, errors seem to come up when you try to run your Simulink model on the TI hardware ...

1 year 前 | 0

已回答
Not able to dump hardware code from Simulink to F28379D launchpad
Hi Neil, From your post, my understanding is that you are experiencing an issue with deploying code to the F28379D LaunchPad us...

1 year 前 | 0

已回答
Hello I am trying to convert a ltspice capacitor part into a simulink part through Matlab
Hi Tahsina, The function “subcircuit2ssc” reads the SPICE netlist specified as a parameter and converts every subcircuit into o...

1 year 前 | 0

已回答
How to generate C function to return a bool
Hi Duane, From the second attached code snippet (the desired generated code), I assume that the intended functionality is to ha...

1 year 前 | 0

已回答
realtime data from accelerometer using matlab
Hi Ahad, Do refer to this MATLAB Answers post that details how to measure accelerometer data (using a BMA220 sensor) on a wide ...

1 year 前 | 0

已回答
How to import STLs into MATLAB WHILE maintaining their coordinate system
Hi Andrew, STL files can be imported and aligned in the following methods – Using “stlread” - https://in.mathworks.com/help/m...

1 year 前 | 0

已回答
How to deploy ML model on thingspeaks
Hi Arnav, There is a "Developing an IoT Analytics System with MATLAB, Machine Learning, and ThingSpeak" paper linked from the T...

1 year 前 | 0

已回答
How to run two Simulink models at different rates, in the same workspace?
Hi John, I understand that you want to run “Modeled sys” at a faster rate than “Physical sys” from the description of the post....

1 year 前 | 1

已回答
Creating Dataset of varying length Signals
Hi Denis, The topic of classifying time series data of varying lengths was touched upon in another MATLAB Answer. It is suggest...

1 year 前 | 0

已回答
PID tuning / optimization usig machine learning/deep learning algorithm
Hi Avdhut, You could use the blocks that are shipped with the Reinforcement Learning Toolbox to tune a PID controller. An examp...

1 year 前 | 0

| 已接受

已回答
How to analyze EMG signals?
Hi @Merve Deniz Senelen, You can import your “.bin” and “.hea” files using the following steps: Unzip the Files: You can use...

1 year 前 | 0

已回答
How to convert 3D plot to .STL
Hello, A possible solution is to download the “stlwrite.m” file from the following link: https://www.mathworks.com/matlabcentra...

1 year 前 | 0

已回答
Plot 3 variables on 2D plot
Hi Joel, The “scatter” function in MATLAB has a functionality by which you can pass a third parameter along with the...

1 year 前 | 0

已回答
Calculation of Hyperparameter for the process noise (Qx)
Hi Md Armanul Hoda, From the description, it seems you are discussing the use of a Kalman filter or a similar estimation algori...

1 year 前 | 0

已回答
Encountering an error during Fault Injection
Hi @RAGHUVEER RAJESH, Without your model details, it is hard to pinpoint exactly why the issue exists. However as per my unders...

1 year 前 | 0

已回答
Accessing GPIO and other peripherals in Soc Blockset for Xilinx ZCU216
Hi Patrick, Please refer to the following links that detail techniques to leverage the peripherals present on the FPGA using...

1 year 前 | 0

已回答
Erroneous generated FIR Filter Coefficient File for Xilinx (.coe)
Hi Anastasios, The filter coefficients are normalized to the input range and scaled by the Numerator range, which is seen in t...

1 year 前 | 0

已回答
Programmatically get bus data type of In Bus Element block
Hi @Gergely, To obtain the bus data type (name) of the associated parent bus from an 'In Bus Element' block in MATLAB, you can ...

2 years 前 | 0

已回答
Is it possible to have a user defined sample time for compiled Simulink code?
Hi @Travis Thomson, Yes, it is possible to make the sample time of your Simulink model configurable at runtime, allowing the ...

2 years 前 | 1

已回答
Clutch implementation into diesel generator
Custom Clutch - MATLAB & Simulink - MathWorks India Hi @Ashley Mauro, Do check out the documentation link, they have used the ...

2 years 前 | 0

已回答
calculate throughput of FPGA in simulink
Hi Arwa, AMD give a guide on using the Simulation Data Inspector(SDI) to find throughput- I've linked it here. You can also fin...

2 years 前 | 0

已回答
Simulink model deployed in Raspberry Pi is not running in Real-time
Hi Suresh, You could try increasing the sample time, which forces the model to use lesser number of time steps to simulate your...

2 years 前 | 0

已回答
how to change the SPICE simulation engine from SIMetrix to LTspice in ee.spice.semiconductorSubcircuit2lookup
Do check out this documentation link where the SIMetrix and LTSpice results are compared- Generate standard MOSFET characterist...

2 years 前 | 0

已回答
How do I see all the answers of the iteration?
Move the constants out of the loop. Then, see what variables depend on Tj and put them in the loop. Assuming you want to find th...

2 years 前 | 0

| 已接受

已回答
Create a Matlab Function that averages the input signal with the simulation running in the Simulink -- No upload to workspace
Hi, Without knowing your harware target, this is the basic idea you need to implement. The one-stop solution however is the m...

2 years 前 | 0

| 已接受

已回答
How can i get the system clock of a raspberry pi 4 with Simulink?
You need to include profile_timer.h from MATLAB\R2023a\toolbox\target\shared\armcortexabase\include\profile_timer.c. This has a ...

2 years 前 | 0

已回答
How do I use MATLAB Coder to generate C++ code for an IIR filter that was generated by designfilt?
So, first of all, the dellip argument should be declared inside the gpsFilter function, because code generation does not support...

2 years 前 | 0

已回答
How in Simulink send one signal from an input to one of several outputs according to a given output number?
I believe what you are looking for is analogous to a digital decoder. I do not believe a Simulink block to do this exists, but y...

2 years 前 | 0

已回答
How to show a specified tau font in the subscript of y axis label in a matlab plot?
There is a LaTeX solution to this, by encasing your label inside \mathrm{}. The output has been shown below. Is this the font yo...

2 years 前 | 0

加载更多