Answered
How to set 'PreserveVariableNames' to True while importing an Excel file into matlab?
help readtable 'PreserveVariableNames' Flag to preserve variable names, specified as true or fals...

environ un mois ago | 0

| accepted

Question


MATLAB Central Answers website problem?
Did anyone have any problem? When I click "My Answers", it shows both my questions and answers with questions listed first. Sa...

environ un mois ago | 7 answers | 0

7

answers

Answered
fill up a cell array with string elements
This is all you need words=split('this is a sentence.')

environ un mois ago | 0

Answered
MATLAB Help Report shows No Examples and No See Also Line
use %, not %% and provide real contents for examples and "See also".

environ un mois ago | 0

Answered
sl_customization - Update Lookup Table Data (Non-Standard Format)
As far as propagating modified data back to its source variable, it doesn't matter whether the source variable is in the base wo...

environ un mois ago | 0

Answered
how to import C code files or precompiled libraries into Simulink
Use "C Caller" block https://www.mathworks.com/help/releases/R2019b/simulink/slref/ccaller.html

environ un mois ago | 0

Answered
Error when using breakpoints in Simulink
Can you run "mex -setup" and follow instructions to select your local MinGW as the C compiler.

environ un mois ago | 0

Answered
How do I count the number of times zero is being crossed by a signal?
If you have the DSP toolbox, there is a Zero-Crossing counter block. If not, you can compare the signal with zero, which creates...

environ un mois ago | 0

| accepted

Answered
Updating Simulink Block Parameters using Matlab Scripts
set_param(YourModel, 'SimulationCommand', 'pause'); set_param(YourBlock, parameter, value); set_param(YourModel, 'SimulationCo...

environ un mois ago | 0

Answered
Matlab: what happends under the hood when choosing 2 seeds far away with rng
My understanding of rng(SeedNumber) is that SeedNumber is like an ID (identification number). It gives you the ablity to re-gene...

environ un mois ago | 0

Answered
Setting different properties for some line objects stored in the same handle
set(h1([3,5]),'LineWidth',2)

environ un mois ago | 0

| accepted

Answered
How to load data from Simulnik Thermal House example?
Specify the callback as "kuca_podaci". Don't include the ".m" extension.

environ un mois ago | 1

| accepted

Answered
Changing parameters with time
Use the Step block. It can specify the initial value, final value and value-changing time.

environ 2 mois ago | 0

| accepted

Answered
()-indexing must appear last in an index expression.
A=rand(3,4); size(A,2) size(A)(2) Error: Indexing with parentheses '()' must appear as the last operation of a valid indexin...

environ 2 mois ago | 0

Answered
Fail to convert string to a number
use double() to see the ASCII value a=[char(32),'3.93',char(10)]; double(a)

environ 2 mois ago | 0

| accepted

Answered
I cannot view my scope output window fully
If you are using Windows, find the Task Bar, find the icon for MATLAB and then the window icon for the Scope, right click, choos...

environ 2 mois ago | 0

Answered
Multi line edit box, adding text to the top rather than the bottom
try currString=[{msg};currString];

environ 2 mois ago | 0

| accepted

Answered
Pulsewidth detection SIMULINK with a rounding issue
Your pulse cycle is 100us. Your clock cycle is 10us. So you can count 10 times during a pulse cycle. It is like counting by 10 s...

environ 2 mois ago | 0

| accepted

Answered
Get Path of Saved File
use uiputfile() which can return path and file name. then save()

2 mois ago | 0

| accepted

Answered
command history with updates
The command history is saved as history.xml for different versions. See if you can simply copy over the file. C:\Users\XYZ\AppD...

2 mois ago | 0

Answered
Call Matlab function in simulink
Use the MATLAB function block MATLAB function

2 mois ago | 0

Answered
How to combine array columns to form complex number?
Since you used table, you need to run S21complex = complex(S21real.Var2, S21imag.Var2)

2 mois ago | 1

| accepted

Answered
How to update values ​​in Simulink
All you need is to declare "a" as a persistent variable. doc persistent

2 mois ago | 0

Answered
Simulink Solver Information tooltip, Solver selection and Stepsize calculation
Maximize the the window of your Simulink model, at the most bottom-right corner, you'll see the solver name, such as ode45. Clic...

2 mois ago | 0

| accepted

Answered
How to get property of blocks
Assume your model passes model update, here is an example. vdp; vdp([],[],[],'compile'); get_param('vdp/Mu','CompiledPortData...

2 mois ago | 0

Answered
i can't use syms in matlab
run "ver symbolic". If you don't see the Symbolic Math Toolbox, then you don't have the Symbolic Math Toolbox.

2 mois ago | 0

Answered
How to repeat a subsystem output multiple times in SImulink
Use an Integrator block with constant as the input. Compare the out with the Maximum value and trig reset.

2 mois ago | 0

Answered
How to solve '' error(message('symbolic:sym:errmsg1')); ''
remove the "." in "syms xx."

2 mois ago | 0

Answered
Merging different position (length) lines ??
Although the two curves look different in length and position, technically, curve one still have values (all zero) at the begini...

2 mois ago | 0

| accepted

Load more