Community Profile

photo

Monika Jaskolka


Last seen: Today Active since 2014

PhD, Software Engineering
https://monikajaskolka.github.io

Statistics

All
  • 6 Month Streak
  • Knowledgeable Level 3
  • Personal Best Downloads Level 2
  • GitHub Submissions Level 2
  • 5-Star Galaxy Level 2
  • Thankful Level 2
  • Revival Level 3
  • First Review
  • First Submission
  • First Answer

View badges

Content Feed

View by

Answered
How to .txt or .rcmp file data with separated by colon?
>> fileread('test.txt') ans = '11 0 1 1 0 0 0 0 0 4 1:2 1:3 1:4 1:5 2 1 2 0 2 2:6 2:7 ...

19 days ago | 0

| accepted

Answered
Output Simulink model (2009 verison) in Simulink/matlab 2021a
Use the command Simulink.exportToVersion to export to previous versions. exported_model = Simulink.exportToVersion(gcs, 'model_...

22 days ago | 0

| accepted

Answered
Regarding sldiagnostics function usage and results
In the description of sldiagnostics it says that it also follows links, so your command should be: find_system(gcs, 'LookUnderM...

23 days ago | 0

| accepted

Answered
How can I read a ".dat" and ".hea" file in to MATLAB?
To import dat files I use the mdfimport tool found on the Matab File Exchange

23 days ago | 0

Answered
is it possible to reference a port name instead of number for add_line()?
No, this is not possible. The function add_line can currently only be used by providing the port handles or points.

1 month ago | 0

Question


How to create a time varying constant?
I have data that I logged from my Simulink model using ToWorkspace blocks. This data is in the usual [Time, Data] format and a s...

2 months ago | 2 answers | 0

2

answers

Answered
Is it possible to eliminate the BlockIO contents when generating code?
You probably have to change your model configurations so that code generation makes these changes: https://www.mathworks.com/he...

2 months ago | 0

| accepted

Answered
Is it possible to copy an entire area from one simulink model to another?
Simulink.SubSystem.copyContentsToBlockDiagram might be what you are looking for. https://www.mathworks.com/help/simulink/slref/...

2 months ago | 0

Answered
I need to run this python code in MATLAB. Can anyone guide me, please?
Perhaps some previous answers can help you: https://www.mathworks.com/matlabcentral/answers/416129-how-to-convert-python-code-i...

2 months ago | 0

Answered
How to select a specific column in matrices?
A = ones(4) B = ones(4)*2 C = ones(4)*3 D = ones(4)*4 X = [A(:,2), B(:,2), C(:,2), D(:,2)]

2 months ago | 1

Answered
Reading from Google sheeets using Matlab
Have you tried looking at the existing answers/solutions to this problem? https://www.mathworks.com/matlabcentral/answers/49624...

2 months ago | 1

| accepted

Answered
Rearrange a CSV file
Assuming your data has headers to identify the column names as A...X: t1 = readtable('abc.csv'); t2 = readtable('test1.csv'); ...

2 months ago | 1

Answered
Reading .xlsx data with header text
The readtable function works for both spreadsheet (.xlsx) and text files (.txt). It will also consider the first row as the hea...

2 months ago | 0

Answered
¿Como solucionar ? Not enough input arguments.
You need to run the script so that X is provided: >> erlate(X) Not: >> erlate

2 months ago | 0

Answered
How to get file names only when using dir()?
fileList = {fileList.name} If you want to remove the file extension: fileList = strrep(filelist, '.mat', '')

2 months ago | 0

Answered
import file with exponential numbers
format longE M = readmatrix('1.txt') See: https://www.mathworks.com/help/matlab/ref/format.html

2 months ago | 1

Answered
How to read data out of a .txt-File?
format longE T = readtable('textfile.txt', 'NumHeaderLines', 18); T = 3×2 table Var1 Var2 ...

2 months ago | 0

Question


How can I get the error message from sldvrun when programmatically using Simulink Design Verifier?
I am using sldvrun in a script to run design error checking analyses on several models. When models encounter issues during the ...

3 months ago | 1 answer | 0

1

answer

Answered
How to give input as a text and read the number corresponding to that text from the excel sheet
data = readtable('Spreadsheet.xlsx'); entry = data(strcmp(data.MaterialName, 'zinc'), :); entry.MaterialTemperature

3 months ago | 1

| accepted

Answered
Triggering referenced models in Simulink
See "Triggered Sample Time" in: https://www.mathworks.com/help/simulink/ug/types-of-sample-time.html See "Conditions for Inheri...

3 months ago | 1

| accepted

Answered
I want to convert this python code to matlab code . How can i do it?
Perhaps some previous answers can help you: https://www.mathworks.com/matlabcentral/answers/416129-how-to-convert-python-code-i...

3 months ago | 0

Answered
block_diagram does not have a parameter named 'SaveOperatingPoint'
In 2018a models do not yet have the SaveOperatingPoint parameter.

3 months ago | 0

Answered
How to apply the func change color of Input port using Set param according to naming Convention?
for i = 1:length(A) name = get_param(A{i}, 'Name'); if regexp(name, '^Var_In_\d+$') set_param(A{i}, 'Backgrou...

3 months ago | 0

Answered
how to set this parameters and coverage settings for simulink model through script?
models = {'model1', 'model2', 'model3'}; for i = 1:length(models) m = load_system(models{i}); set_param(m, 'Sto...

3 months ago | 0

| accepted

Answered
using a variable to change destination path in movefile
Your first problem is that the first input into movefile should be a char array: movefile('C:/users/alast/Documents/LAB 5/image...

3 months ago | 0

Answered
Transition blockset in simulink
To swtch between the block you can use an If-Action subsystem, like the example here: https://www.mathworks.com/help/simulink/sl...

4 months ago | 0

Answered
How to read an xls file in matlab which has latitude (suffixed with N), longitude (suffixed with E), time (prefixed with the month), and a value corresponding to latitude and longitude in it?
You can use regexprep to clean up the values: opts = detectImportOptions('Test.xlsx', 'NumHeaderLines', 2, 'VariableNamesRange'...

4 months ago | 0

| accepted

Answered
How can I give main title for multi-graphs?
figure; plot(rand(5,1)); annotation('textbox', [0.45, 0.5, 0.5, 0.5], 'String', 'Global Title', ... 'FontSize', 14, 'Fo...

4 months ago | 1

Answered
Replace missing cell entries without replacing whitespaces.
for i = 1:numel(A) if ismissing(A{i}) A{i} = 'REPLACED'; end end

4 months ago | 1

Answered
Checking disjointness of Stateflow truth tables?
After waiting some years and looking into this several times, the answer is that disjointness checking is not supported.

4 months ago | 0

| accepted

Load more