Answered
field name to string
When MATLAB encounters a.b in a calling sequence, then the "a" portion gets dereferenced, and the anonymous memory for "b" gets ...

23 days ago | 0

Answered
How to run spsConversionAssistant?
Note that if you install R2025b Update 1, then Specialized Power Systems is restored; invoke sps_lib to see it in the library br...

27 days ago | 0

| accepted

Answered
How to create a very large array with an incremently named variable?
Don't Do That. If you are loading arrays from a single .mat file, then instead of using load FILENAME use STRUCTURE = load(F...

1 month ago | 0

| accepted

Answered
In the new version, the Simulink library function update is no longer available. How can it be replaced?
SPS is back in R2025b Update 1. (You might have to command sps_lib to see it.)

1 month ago | 0

Answered
Extracting coefficients from symbolic expression
syms P121 P131 P151 P122 P132 P152 cosd sind cosdphi12over2 cosdphi13over2 cosdphi15over2 sindphi12over2 sindphi13over2 sindphi1...

1 month ago | 1

Answered
Can i still use MATLAB for free after the free 30-day trial?
You can use MATLAB Online for 20 hours per month without any active license. I am not sure if that gives you any Simulink acces...

1 month ago | 0

Answered
solve function depend on z
You can divide res by s^4, and you can then substitute s = sqrt(S), and then collect on S. You will obtain a degree 7 polynomial...

1 month ago | 0

| accepted

Answered
How to apply a generated filename to the mex command?
script_version = "8_1"; process_filename = strcat("myfile", script_version, ".c"); mex(process_filename)

1 month ago | 0

| accepted

Answered
unable to add namespace folder +toml to the project path
https://www.mathworks.com/help/matlab/matlab_oop/namespaces.html To be accessible to MATLAB, the parent folder of the namespac...

1 month ago | 0

Answered
I've TI Launchpad 28379D and TI BOOSTXL-K350QVG-S1 display. I'm using simulink and would like to display voltage and current reading to TI LED screen. How would I go about it?
Fork the ADC pin output. Use Compose String https://www.mathworks.com/help/simulink/slref/composestring.html to put in the "Stri...

1 month ago | 0

Answered
How can I extract the time length (in miliseconds) between two audio signals?
You can use https://www.mathworks.com/help/audio/ref/detectspeech.html or https://www.mathworks.com/help/audio/ref/voiceactivity...

1 month ago | 0

Answered
I am getting the following error
Most likely, you have one too many end statements I recommend using the editor facility "Smart Indent", which I believe has sho...

1 month ago | 0

Answered
Defining Global Variables in the function
function out = Area_Integral(k, rho_0) global k rho_0 When you receive a parameter into the same name as a global variable, t...

1 month ago | 0

| accepted

Answered
I can't find the powergui block and components like a full-bridge MMC. I'm using MATLAB 2025b, yet I don't see that I have Specialized Power Systems in Simscape Electrical.
It is gone in R2025b. There are reports that it will re-appear in R2025b Update 1, but that is not confirmed. Also it appears...

1 month ago | 0

| accepted

Answered
can u ans me what should i do now from bolded wave to normalwave
The "bolded wave" (the one in yellow) has a high frequency component. For example, t = linspace(0,2*pi,500); y = sin(t) + sin(...

1 month ago | 1

Answered
code cache is full and Matlab crashes
This appears to be related to Java. https://poonamparhar.github.io/codecache_is_full/ I would recommend checking that you hav...

1 month ago | 0

| accepted

Answered
How come my Daq Session isnt continous?
You are telling the daq session to stop. That stopping happens near immediately after the stop() call is encountered. Remember ...

2 months ago | 0

Answered
give me an new MATLAB license file please
Or contact Mathworks Support, raising an Installation problem.

2 months ago | 0

Answered
Please help me, i would to make the color of the run 3D figure as the color of attached figure
x=-20:0.1:20; t=-15:0.1:15; [X,T]=meshgrid(x,t); omega=0.11 ;b=0.01; sig=sqrt(omega-10*b); alfa=0.1; a=0.1; k=alfa/a; c=-(alfa...

2 months ago | 0

| accepted

Answered
Why my plot does not correspond to real values?
Notice that the y axis goes up to 10^10. You have some early values that go up to roughly 22*10^10 and those early values are se...

2 months ago | 0

| accepted

Answered
Function output not displayed on scope.
The scope would show the output signal. The output is after the for loop has run. So the scope would show the final X, final Y, ...

2 months ago | 0

Answered
I cannot install or find Specialized Power Systems in MATLAB R2025b.
Simscape Specialized Power Systems is gone (without notice), and is unlikely to be back. See https://www.mathworks.com/matlabce...

2 months ago | 1

Answered
How to multiply different size arrays and multiply each element by each element?
Vh = ((Span(:) .* ((1 - reshape(Ct,1,[]))+1).*reshape(MAC,1,1,[])/2) .* reshape(CoM,1,1,1,[]))./(WingArea.*WChord); assuming th...

2 months ago | 0

Answered
In order to calculate average after 300ms from beginning of the recording
You need to multiply the delay time (300ms), expressed in seconds, by the sample frequency (expressed in Hertz), to calculate th...

2 months ago | 1

Answered
Is Powergui liberary is missing in 2025b , because I installed the matlab 2025b and when i open any model it appear the powergui lib is missing
Yes, it has been removed. Mathworks has sold the technology to another company. See https://www.mathworks.com/matlabcentral/an...

2 months ago | 0

Answered
kernel scale in svm ?
According to https://www.mathworks.com/matlabcentral/answers/516738-what-kernel-scale-in-svm-really-is#comment_983291 @Hiro Yo...

2 months ago | 0

Answered
Teensy4 Hardware Interrupt Problem
https://www.mathworks.com/help/simulink/supportpkg/arduino_ref/transmit-receive-data-can-blocks.html The CAN receive block is ...

2 months ago | 0

Answered
What works in 2024 stopped with 2025: Latex interpreter
\raisebox and \fbox were never previously documented as working. I speculate that when Mathworks converted java based figures t...

2 months ago | 0

Answered
Please help me to solve this simple error
You have an installation error; somehow the implementing function (class actually) for sym has become a script instead of a func...

2 months ago | 0

Answered
"Not Enough Input Arguments" Error Calling ODE45
[t,z] = ode45(@sys,[0:0.1:100],0) You are passing a single initial state, the 1x1 value 0, into sys. The result of calling sys ...

2 months ago | 0

Load more