已回答
xpcsetCC -setup not able to find any compilers
HI @Budhaditya, the issue you are encountering is expected due to the compatibility limitations of MATLAB R2013a and xPC Target....

2 months 前 | 1

已回答
[Matlab R2024b] [SDI] How to assign data to SDI-Subplot(map-type) programmatically?
Hi @Mustafa Eren, the error message you are seeing occurs because the Simulation Data Inspector (SDI) map visualization requires...

2 months 前 | 0

已回答
custom options for asap2
Hi @Anuj Singh, as of R2024b, there is no built-in option in coder.asap2.export to limit the A2L file generation to only top-lev...

2 months 前 | 1

| 已接受

已回答
How to use mex file in a simulink model
Hi @Shalaka, to use the output of your MEX function in a Simulink model and assign it to variables in the MATLAB workspace, ther...

2 months 前 | 0

已回答
Exit Debugger when Debugger gets stuck in a loop
Hi @Cg Gc, this issue occurs when the debugger gets stuck in a recursion loop and exceeds the maximum recursion limit, which cor...

2 months 前 | 0

已回答
Function calls defined as a bus for inport in Export-Function Model
Hi @staines, unfortunately, you can't include function-call signals in a bus. Simulink.Bus objects are designed for grouping dat...

2 months 前 | 0

已回答
I need to print a Simulink file that is large. I need to print to a PDF file.
Hi @DJ V, it is possible to print a large Simulink model as interlocking tiles, but direct control over tile size is limited in ...

2 months 前 | 0

已回答
Editor highlighting line break when hitting return
Hi @Ben Ward, based on your description, it seems like there may be a UI behavior issue in the MATLAB Editor, possibly related t...

3 months 前 | 0

已回答
How can I apply transient response of a system as a boundary condition?
Hi @Shubhrashayak, if you’ve already run a transient structural simulation and have the response of your cantilever beam (resT),...

3 months 前 | 0

已回答
When I am trying to download Matlab an error pops up saying "Your MathWorks Account login session has expired" and it won't work despite re logging in and verifying my licesne
Hey @Caitlyn, Here’s a workaround you can try for the installer issue: Restart the installer. When prompted, enter your email...

3 months 前 | 1

已回答
How to open a Word document from a MATLAB Web App
Hi @David Seddon, thank you for reaching out. You're correct that direct interaction with Word documents (such as opening them)...

3 months 前 | 0

已回答
Help pls, i have problem with using for loop to plot 2 input variables equation.
Hi @athittaya, you're facing issues because you're looping over F and Qdot inside the simulation loop without storing results se...

3 months 前 | 0

已回答
Show plot with different "sampling" number side-by-side
Hi @SD, you're on the right track, but the issue was due to the loop structure. You were looping over casts and then trying to v...

3 months 前 | 0

| 已接受

已回答
Plot the dispersion relation for waveguide
Hi @Vaclav, you're encountering a common issue when dealing with dispersive and lossy media like plasmonic slabs. In such materi...

3 months 前 | 0

已回答
Plot of time-trajectories for the synchronization between two systems
Hey there @Nehad! If you are looking to plot the synchronization between two systems using MATLAB, I have got you covered. Here ...

7 months 前 | 0

| 已接受

已回答
Simulation Speed Issue with High εr in Patch Antenna Design
Hi @Morteza, when simulating patch antennas with high permittivity materials, it is not uncommon to experience increased simulat...

8 months 前 | 0

已回答
Saving Geoplots to non-.fig files
Hi @Alan, you can create an interactive map using MATLAB's native capabilities, such as exporting to a web-friendly format that ...

8 months 前 | 0

已回答
How to calculate the average of each column without taking zeros values
Hi @Amy, to calculate the average of each column in a matrix while ignoring zero values, you can use MATLAB's logical indexing a...

10 months 前 | 0

已回答
Apply individual temperatures to nodes as initial conditions for thermal transient analysis
Hi @matjam, in the unified modeling workflow, you can specify the initial temperature for each node using a custom initial condi...

10 months 前 | 0

已回答
To connect the top two points of the ellipse symmetrically with mesh and add the gradation color according to the value
Hi @daeyeong, to connect the top two points of the ellipse symmetrically with a mesh and add gradation color according to the va...

10 months 前 | 0

已回答
'Matrix dimensions must agree' error, when using the backslash operator to solve Ax = b,
Hi @Noob, the error message "matrix dimensions must agree" typically indicates a mismatch in dimensions between matrices or vect...

10 months 前 | 0

| 已接受

已回答
Simulink Coder: Why is my Matlab function input array not generated properly when the Inport dimension is -1 ?
Hi @Maxime, when generating C++ code from a MATLAB function using Simulink Coder, it is important to ensure your Simulink model ...

10 months 前 | 0

| 已接受

已回答
How to Permanently Change Default Title Options in tiledlayout?
HI @Massimiliano, to set default properties for titles and other elements in MATLAB's 'tiledlayout', you can modify your custom ...

10 months 前 | 0

已回答
Catch command line information when using exportgraphics
Hi @Cunxin Huang, when using MATLAB in "nodesktop" mode, certain functions might produce output directly to the command line tha...

10 months 前 | 1

已回答
I performed transfer learning on yamnet, then, when I try to classify a sound I recorded using y = net(x), it says "Array indices must be positive integers or logical values."
Hi @Eiram Voriz, the error message "Array indices must be positive integers or logical values" typically occurs in MATLAB when y...

10 months 前 | 0

| 已接受

已回答
Saving and Loading MATLAB APP Configuration
Hi @William, to update the app’s UI components in MATLAB App Designer after loading a saved configuration, you need to ensure th...

10 months 前 | 0

已回答
How can I fix the previous plot as background, and then make a newplot that updating with a loop?
Hi @剑豪 戴, to achieve a plot where the background is fixed and new plots are updated without overlapping, you can use the 'cla' (...

10 months 前 | 0

| 已接受

已回答
How to import constants / parameters from another file
Hi @Muhammad Samin Hasan, here are some approaches to handle your setup: 1. Use a MATLAB Class You can define a class to store...

10 months 前 | 0

| 已接受

已回答
Record real-time EMG signal and Plot it.
Hi @Iro Liontou, to achieve precise timing and accurate plotting of your sEMG signal, consider the following key points: Loop T...

10 months 前 | 0

已回答
Issues with Signal Interruption in high frequency Simulink OPC UA Real-Time Latency Test
Hi @Philipp Morlang, signal interruptions in a Simulink model using OPC UA communication can be caused by several factors, inclu...

10 months 前 | 0

加载更多