Community Profile

photo

galaxy


Last seen: 2 days ago
110 total contributions since 2019

galaxy's Badges

  • 3 Month Streak
  • Thankful Level 1
  • CUP Challenge Master
  • Knowledgeable Level 2
  • First Submission
  • First Answer
  • Revival Level 1
  • Commenter
  • Promoter
  • Community Group Solver
  • Solver

View details...

Contributions in
View by

Question


Problem in find function???
Dear bros, I want to find the index of spesific element in a matrix, but I think there is problem A = [1 0 2 0; 0 3 0 4; 5 0 6...

1 month ago | 1 answer | 0

1

answer

Question


Can add multi-lines in one row of table in Matlab GUI ?
Dear all As title, I want to ask can add multi-lines in one row of table in Matlab GUI ? If can, how to add? Many thanks

1 month ago | 0 answers | 0

0

answers

Question


How to get property of blocks
Hi bros, I want to know how to get property of blocks such as inport (value, data type), outport (value, data type). Example: ...

2 months ago | 1 answer | 0

1

answer

Question


List of all Conditional Subsystem
Dear bros, This link discribes about Conditional Subsystem, but I can't find definition and list of it. Following are all of t...

3 months ago | 1 answer | 0

1

answer

Question


How to get signal line and block which connects with trigger port in model by code???
Dear all, As you know, we can find_system trigger_block by trigger_blocks = find_system(system, 'FindAll','on',... ...

3 months ago | 1 answer | 0

1

answer

Answered
How can I convert datetime into double?
You can use datenum to convert each your data to double. Example: >> t = datetime('now') t = datetime 2019/12/1...

3 months ago | 0

Question


Get editable parameters of blocks
Dear all, As we know, we can use get_param function for get value of parameter blocks which we know the parameter name. Exampl...

3 months ago | 1 answer | 0

1

answer

Answered
How can I use the command to realize the selection of coverage filter?
You can create new rule which exclude this block. example: modelName = 'Frame_Test_Sc'; open_system(modelName); set_param(mo...

3 months ago | 0

| accepted

Question


Don't know why SLDV checks compatibility fail
Dear bros, My model update (Ctrl + D) and run (Ctrl +T) was OK. But when i used SLDV to check compatibilty, SLDV report failed ...

3 months ago | 1 answer | 0

1

answer

Answered
calling mex function from Simulink
After you build mexw64 file successful, you can use S-Function block if not, you need to build mex file by mex from S-function ...

3 months ago | 0

Answered
How to code this equation?
This formula mean Y = sum of all Y(i) value with i = 1:n I do not know what is Y(i) so can not write detai. Please refer symsu...

3 months ago | 0

| accepted

Answered
Hello why I get this error when I am going to set the path ?
You can fix as this link https://www.mathworks.com/matlabcentral/answers/437214-problems-with-set-path#answer_353904

3 months ago | 1

Answered
strcmpi not returning 1
You need compare string from 2 variables leftend and rightend, but you are comparing 2 string 'leftend' , 'rightend'. Let remov...

3 months ago | 0

| accepted

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

3 months ago

Answered
How to use linspec
n = 9 when user want to generate integer cases of x in [-4, 4] if n = 1, so x alway = 4, it is no meaning

3 months ago | 0

Answered
how can I read different data types from excel file
You also use readtable function data = readtable(FILE,'Sheet', 'sheet_name', 'ReadVariableNames', false);

3 months ago | 0

Question


Search subarray closest other array
Dear all I want to search subarray closest other array as following. A = [4, 5.5, 7, 8.1, 1, 5, 6, 7, 8, 9]; B = [5.5, 6.2, 7...

3 months ago | 1 answer | 0

1

answer

Submitted


Limit_Input_Change
Make output slowly close input when input change very big.

3 months ago | 0 downloads |

Thumbnail

Answered
How to define a function with multiple names
As I know, you can't do it. You should create only 1 function and switch converting such as same following function out_val = ...

3 months ago | 0

Answered
Problem of comparison in Simulink Test Manager
I found problem. Time in baseline was not really right. Example: 3.0600000001 I fixed

3 months ago | 0

| accepted

Question


Problem of comparison in Simulink Test Manager
Dear all, I created test cases for simulink test manager, but when I compare, result at one time was not same which as followin...

3 months ago | 1 answer | 0

1

answer

Question


Signal did not align
I using Simulink test and add base line result from excel file. But signal compare dis not align as following picture. Do y...

3 months ago | 1 answer | 0

1

answer

Question


How to know actived transition between states
Dear bros, As we know, we can view state activity by using the Simulation Data Inspector or Active State Data as following link...

3 months ago | 1 answer | 0

1

answer

Question


Simulink Design Verifier Dead Logic
I used simulink design verifier to check my state machine model. And some dead logics are detected. Red line is dead logic,...

4 months ago | 1 answer | 0

1

answer

Answered
Help understanding example for Inlining Matlab S-function
You double click to Inport block, choose the Signal Attributes tab

4 months ago | 0

| accepted

Answered
Prolemn with close Matlab folder
You need to check movefile function which you used is OK or NG Original, after cd command. 2. after use movefile 3. afte...

4 months ago | 1

| accepted

Answered
User-defined function is "unrecognized" in command window.
You copy only print_list function to other file and save print_list.m in Matlab It will be OK

4 months ago | 1

| accepted

Answered
Square wave to bits in Simulink
You can write waveform data to workspace via To Workspace block or Scope

4 months ago | 0

Answered
Write a for loop that iterates from 1 to numberSamples to double any element's value in dataSamples that is less than minValue. Ex: If minVal = 10, then dataSamples = [2, 12, 9, 20] becomes [4, 12, 18, 20].
Let's try minVal = 10; dataSamples = [2, 12, 9, 20]; dataSamples(find(dataSamples <= minVal)) = dataSamples(find(dataSamples...

4 months ago | 0

Answered
how to run multiple xlsx files once
You can use following steps: % select path work_path = uigetdir('pwd', 'Select folder'); % find all xlsx files in folder %...

4 months ago | 0

Load more