답변 있음
Speichern eines Arrays in einer .mat Datei
Leider habe ich keinen Embedder/Simulink/MATLAB Coder. Aber versuch mal einen Schalter zu bauen, wobei das Array wird gespeicher...

대략 1년 전 | 0

답변 있음
Optimizing a matrix of values
a = zeros(3); [m, n] = size(a); a(~diag(1 : m)) = 1 : m * n - m; a.'

대략 1년 전 | 0

답변 있음
Invalid Simulink object name: 'task_05/Circuit/R_load'.
It is possible that R_load has invisible character at the end. Click on R_load Subsystem and then type *gcb* in MATLAB command w...

대략 1년 전 | 0

답변 있음
How we can do the matrix and vector in vector form?
B = B.'; Wanted = [A; B(:)]

대략 1년 전 | 1

답변 있음
How we can do the matrix and vector in vector form?
[A, B.'] %?

대략 1년 전 | 1

답변 있음
How to write a specific bus signal label to a string variable
function y = findMaxSignal(u) % Assuming 'u' is the input vector representing the signals [~, maxIndex] = max(u); ...

대략 1년 전 | 0

답변 있음
Hi. How do I maintain the square wave output of the 1-D?
Not sure which block you are using beefore to Goto "[delay]" block but removing data conversion and this phase shift block. The ...

대략 1년 전 | 1

| 수락됨

답변 있음
Hi. In Simulink modeling, what can we do to ensure that the switching waveforms of the duty cycle and 1-duty cycle are not in phase?
If you want both to be in 90 deg out of phase with each other , you can simply use the <https://www.mathworks.com/help/simulink/...

대략 1년 전 | 0

| 수락됨

답변 있음
what is Selector block in Simulink and how to use it? and what are its type
It’s purpose is to index a vector. For example: let’s say you have an array x = [1, 2, 3] When the index mode is zero ...

대략 1년 전 | 0

답변 있음
Issue while loading user defined blocks
You probably don’t have Stateflow or the valid license for it.

대략 1년 전 | 0

답변 있음
Variable define for default storage class
just open one of the models and open Code Mappings - Component Interface and enter your desired name in the Identifier field an...

대략 1년 전 | 0

답변 있음
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
plot(x,Env(:,1),'b',x,Env(:,2),'r') Note: just responding to the error message, assuming rest of the code works fine.

대략 1년 전 | 0

답변 있음
Define default signal values after code generation
Yes, you can do this by defining your signal as <https://www.mathworks.com/help/simulink/slref/simulink.signal.html *Simulink.Si...

대략 1년 전 | 0

답변 있음
Custom Simulink toolstrip color
<https://de.mathworks.com/help/simulink/ug/create-custom-simulink-toolstrip-tabs.html> if you find something related to the link...

대략 1년 전 | 0

답변 있음
How to Add Title to Legend ?
<https://de.mathworks.com/matlabcentral/answers/324848-setting-a-title-for-a-legend> perhaps one of those answers in the link if...

대략 1년 전 | 0

답변 있음
What's the best way to write this code?
"OR" to be replaced with ||

대략 1년 전 | 0

| 수락됨

답변 있음
Extracting data from SimulationOutput from multiple simulations
No_iter= 8; PCC_V_All = cell(1, No_iter); for k_index = 1 : No_iter PCC_V{k_index} = TP_rms(get(out(1, k_index).l...

대략 1년 전 | 0

답변 있음
I am using PV ARRAY block in simulink, from where i can find the exact formulae implemented behind "PV ARRAY" block.
<https://www.mathworks.com/help/sps/powersys/ref/pvarray.html> mentioned in the documentation

대략 1년 전 | 0

답변 있음
複数の条件(文字)に一致するインデクスの取得方法
Row_number = find(strcmp(Data{:, 1}, 'Eat') & strcmp(Data{:, 2}, 'Rumination')) % Where Data is your Table

대략 1년 전 | 0

| 수락됨

답변 있음
sgtitleの位置調整について
Exactly use the code in this <https://de.mathworks.com/help/matlab/ref/sgtitle.html#mw_719e1aad-fda8-4073-8369-5947229a8f17 *sgt...

대략 1년 전 | 0

답변 있음
Create buffer/array in simulink.
To store data as array use <https://de.mathworks.com/help/simulink/slref/foriteratorsubsystem.html *For-Iterator Subsytem*>.

대략 1년 전 | 0

| 수락됨

답변 있음
Change 'Gain parameter' value of Gain block in Model
Sure, just use a <https://de.mathworks.com/help/simulink/gui/mask-editor-overview.html#bu085yl *Mask*> to change the *Gain* Valu...

대략 1년 전 | 0

| 수락됨

답변 있음
simulink 寻找ramp-up/down模块
It is a <https://de.mathworks.com/help/simulink/ref_obsolete_blocks/signalbuilder.html *Signal Builder*> Block in which you can ...

대략 1년 전 | 1

| 수락됨

답변 있음
How do I upload a .mat file to GitHub using MATLAB and access it remotely? Can you provide some references to GitHub API documentation?
<https://de.mathworks.com/help/matlab/matlab_prog/use-git-in-matlab.html>

대략 1년 전 | 0

| 수락됨

답변 있음
Matlab command to use
doc clear doc clc

대략 1년 전 | 0

답변 있음
I have a question about "Error in port widths or dimensions. 'Output Port 1' of 'From32' is a one demensional vector with 3 elements"
<https://www.mathworks.com/help/sps/powersys/ref/abctodq0dq0toabc.html *Park Transformation*> block only accepts a positive scal...

대략 1년 전 | 0

답변 있음
Li-ion battery simulation by simulink
Have a go through <https://www.mathworks.com/products/simscape-battery.html *Simscape Battery*>

대략 1년 전 | 0

답변 있음
duplicating strings in a cell array
[~, b, c] = unique(name); idx = b(sum(b(c) == unique(b(c)).') > 1)

대략 1년 전 | 0

| 수락됨

답변 있음
Matlab Function Block in Simulink Model_ using persistent variables to hold previous values
change prev_DcBusVolt to pre_Volt

대략 1년 전 | 0

더 보기