Community Profile galaxy

Last seen: 4 dagar ago Active since 2019

Statistics

All
• • • • • • • • • • • • Content Feed

View by

Question

How to extract all values from timeseries???
Hi all, I have timeseries which contains values with time from 0 -> 71.5 seconds But I can see only from 61.51 to 71.5 seconds...

26 dagar ago | 0 answers | 0

0

Question

How to convert lat, long to NE?
Hi all, I know convert latitude, longitude, altitude to NED with lla2ned or geodetic2ned function. But it need altitude parame...

1

Question

How to change format time to GPS week, GPS seconds?
Hi all, How can I change: GPS dates (NO LEAP SECONDS ACCOUNTED) April 30th, 2018, 03:46:40 => GPS week 1999, GPS seconds 1...

1

Question

why xlswrite has @ character?
Hi all, I used xlswrite to write string function to excel cell. Such as: xlswrite('resultFile.xlsx', {['=FREQUENCY(A1:A1000,C...

1

Solved

Is the Point in a Triangle?
Check whether a point or multiple points is/are in a triangle with three corners Points = [x, y]; Triangle = [x1, y1; x...

Solved

Converting binary to decimals
Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

Solved

Binary code (array)
Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

Solved

Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

Solved

Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

Solved

Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

Question

How can I handle Diagnostic error in script???
Hi all, I create testcases excel file from Simulink Test Manager by following command. tf = sltest.testmanager.TestFile('exTes...

0

Question

How to add inport blocks of subsystem if know only subsystem input 's dimensions?
Hi bros As you know, we can get dimension of block as following >> evalin('base', [ 'untitled' '([],[],[],''compile'')']) >...

0

Question

How to know which block connected with outport block in a subsystem?
Hi all, I have outport block in a subsystem. In outside subsystem, there is block connect with this outport block. I want to...

1

Question

Hi all, I use Simulink Test Manager for model testing. But when copy test project folder to other path or other PC, we need t...

0

Question

How to highlight segment signal line in Simulink?
Hi all, I use find_system function for find all signal in untitled model as: >> lines = find_system('untitled','FindAll','on...

0

Question

Why enum comparison is Incorrect??
Dear all, I am checking my model by MAAB. When I check jc_0651: Implementing a type conversion style, there is warning where ...

1

Question

Get full path of referenced models
Hi all, I want to get full path of referenced models from simulink by matlab comment. Example: Model/AAA_Reference (AAA)/Subsy...

1

Question

How to check if string contains some special character?
Dear all, I have a question that the best way to check if string contains: alphanumeric characters and underscore only (ex: st...

ungefär ett år ago | 1 answer | 0

1

Question

How can find all stateflow objects which used function?
Dear bros, Suppose that I have chart block which used floor function, so how can I find where is floor function by command line...

ungefär ett år ago | 1 answer | 0

1

Question

What is the ID of styecheck jc_0803 ??
Dear bros ! I want to run stylecheck by script as following example. checkID = 'mathworks.jmaab.jc_0653'; SysResultObjArray =...

ungefär ett år ago | 1 answer | 0

1

Question

Can not convert USHORT MAX to ufix16_Sp01
Dear bros, In Simulink model, I use constant block which has value (65535) and data type is ufix16_Sp01 (fixdt(0,16,0.01,0)). B...

ungefär ett år ago | 1 answer | 0

1

Question

Separate string with tag_string
Dear bros, I want to separate long string which contains tags to each classify. Example: string = 'tag_A(this is tag A, it c...

mer än ett år ago | 1 answer | 0

1

Question

List of all subsystem(include Model reference) in each layer from model
Dear bros, I want to ask how to list List of all subsystem(include Model reference) in each layer from model. Expected result ...

mer än ett år ago | 1 answer | 0

1

Question

Why Embedded coder generates include to many header files? How to remove these includes?
Dear all, I use Embedded coder for generates C code from model. I configured to generated code only necessary files. But after...

nästan 2 år ago | 0 answers | 0

0

Question

Simulink Coder Error: Error occurred when generating rtwtypes.h
Dear all, I have 1 model which created by MATLAB 2015a. It ran and generated code succesful. Now I want to build by MATLAB 201...

nästan 2 år ago | 0 answers | 0

0

Question

Where is DefaultBlockFontName parameter of Model

nästan 2 år ago | 0 answers | 0

0

Question

How to run ModelAdvisor by command line???

nästan 2 år ago | 0 answers | 0

0

Can use uihtml in GUI component such as text or panel ??
I investigated, and we can use java as following hfig = handles.figure1; % existed figure in GUI je = javax.swing.JEditorPane(...

nästan 2 år ago | 0

| accepted

Question

Can use uihtml in GUI component such as text or panel ??
I want to add HTML code in GUI. But as I know, uihtml can use with figure only. Do you know other way?

nästan 2 år ago | 1 answer | 0