Community Profile

photo

Robert


Last seen: 2 días ago
12 total contributions since 2018

Robert's Badges

  • 3 Month Streak
  • Knowledgeable Level 1
  • First Review
  • Thankful Level 1
  • Revival Level 1
  • First Answer

View details...

Contributions in
View by

Answered
How to remove empty struct fields [ ] from a group a struct fields ?
% Create struct with empty fields. s.a = 'notEmpty'; s.b = []; s.c = ''; s.d = 12; fields = fieldnames(s); sOut = rmfiel...

27 días ago | 0

Answered
How do I save values in my loop as a column vector?
You can define the variables as columns before your for-loop: h1 = zeros(16, 1); err_max = zeros(16, 1); By then assigning va...

3 meses ago | 1

| accepted

Answered
How can I send multiple commands to same command prompt opened by the first command
If semicolons do not work for you, use ampersands: system('cmd1 & cmd2 & cmd3')

5 meses ago | 1

Answered
Location of Help Window
What happens if you press Windows + Up? Reopening the documentation after that should open it in the same size and position it ...

6 meses ago | 0

| accepted

Question


Simulink toggle run-time data access programmatically
In my model, I am accessing a signal during simulation by using the steps described in the documentation. However, for performan...

6 meses ago | 2 answers | 0

2

answers

Answered
How to use only specific files in directory in GUI?
Not sure what you mean by 'select', but you can show a user only the files containing 'PU' in their titles using [fileName, pat...

más de 1 año ago | 0

Answered
Problem with xmlread() and https
This could work if you have write access to the file: In command window, type edit callSoapService Then in the m-file, ...

más de 1 año ago | 1

Answered
Unique function not deleting duplicate rows.
If anyone encounters truly duplicate rows in the output of |unique| like I did, this may be caused by |NaN| in your data being t...

más de 1 año ago | 0

Question


How to programmatically create a script with text without saving it?
What I'm trying to do is have my function start a new m-file and add text to it, *but without saving it.* _fopen_ directly sa...

casi 2 años ago | 1 answer | 0

1

answer

Answered
How can I write data from workspace in *.html file
What's wrong with simply replacing .txt by .html? a = 'Hello World'; fid = fopen('file_1.html','w'); fprintf(fid,a); ...

casi 2 años ago | 0

Answered
Which type of function call provides better performance in MATLAB?
Helpful stuff, but shouldn't the first alternative read "1. An Inline function. The body of the function is *directly* written...

alrededor de 2 años ago | 1

Question


Access current system in System loop
I'm using the Simulink report generator (interactively, so not programmatically) of R2016b. I'm trying to place a snapshot in m...

más de 2 años ago | 0 answers | 0

0

answers