Community Profile

photo

Titus Edelhofer


MathWorks

1.011 total contributions since 2011

MATLAB user since 1992 and working for MathWorks since 2001.
Consulting Manager in Germany.

Contact

Titus Edelhofer's Badges

  • 24 Month Streak
  • Thankful Level 2
  • Guiding Light
  • Revival Level 2
  • Knowledgeable Level 4
  • First Answer
  • Speed Demon
  • Promoter
  • Solver

View details...

Contributions in
View by

Answered
How to execute multiple optimized values for x according to n, using fmincon
Hi, there are a couple of things I don't understand: you say "x is a vector"? But you always start with x0=initial_guess, whi...

9 giorni ago | 0

| accepted

Answered
'fwrite' does not write 'char' variables in binary files
Hi, I'm not really sure if this is not working as it should. If you do the following: fid = fopen('foo.bin', 'wb'); fwrite(fi...

2 mesi ago | 1

| accepted

Answered
How to plot xml file in matlab?
Hi, I guess you need to be a little more specific. The answer to your question is Read the xml file (e.g. using xmlread) Plot...

2 mesi ago | 0

Answered
How to Execute Maltab Function Block Every X Seconds in Simulink?
Hi Andrew, you can achieve this by assigning a sample time: right click on the block, choose "Block Parameters (Subsystem)", ...

6 mesi ago | 0

| accepted

Answered
plot-editing functionality does not exist in deployed apps
Hi, you can get some of the tools (zoom, pan) through using web figures, see e.g. here. Regards, Titus

6 mesi ago | 1

Answered
S Function Builder - To implement existing C code
Hi Ravikiran, usually (as long as your working C code has no states) you simply put it into the "outputs" function of the S-f...

8 mesi ago | 0

Answered
How to use 'mbuild' command to generate C/C++ dll ?
This has changed with R2014a, see <https://de.mathworks.com/matlabcentral/answers/128890-how-can-i-use-mbuild-to-compile-a-share...

8 mesi ago | 0

Answered
I want to know whether the Microsoft Access databases are not recognized by MATLAB R 2015b?
Hi, one problem might be the version you have: could it be that your R2009a was 32 Bit whereas your R2015b is 64Bit? In this ...

8 mesi ago | 1

| accepted

Answered
How to fix index in a parfoor loop?
Hi Andreu, agreed, it looks as if this case could be handled. But it is fairly easy to work around this by separating the inn...

8 mesi ago | 1

| accepted

Answered
How to rename several several .mat in a file with rename
Hi Solene, this should work names = {'Health', 'Practice', 'Taste', 'Test'}; for iName = 1:numel(names) for iFil...

8 mesi ago | 1

| accepted

Answered
what is the difference between data store memory and goto-from blocks ?
Hi Noufal, the main difference is, that data store memory and read/write remove the dependency between reading and writing, i...

8 mesi ago | 1

| accepted

Answered
Error in Integrator is not finite
Hi Mostafa, interesting that the error happens at time 4.0. This could indicate, that indeed something happens in your model ...

9 mesi ago | 0

Answered
why the output of randn is different between serial and parallel loop if using function of RNG
Hi, interesting. There was one thing missing, namely, that the workers might use a different algorithm (designed to be for th...

9 mesi ago | 0

| accepted

Answered
How can I create a best fit polynomial for my data?
Hi Syed, if I assume you have three (column) vectors x, y and Efficiency, then it's simply a linear regression problem: ...

9 mesi ago | 1

Answered
Use Parfor to split a 4D matrix into several 3D matrices
Hi, I agree with OCDER: parfor will only do huge memory movements from the Client to the workers but I doubt you will get muc...

9 mesi ago | 0

Answered
why the output of randn is different between serial and parallel loop if using function of RNG
Hi, the idea why the parallel rng gives different answers is, that a common use case is for Monte Carlo simulations with e.g....

9 mesi ago | 0

Answered
Making an executable with input arguments using codegen
Hi, it's probably not a question of the code generation but your main file: you compile to an executable, so probably your co...

9 mesi ago | 0

| accepted

Answered
How to delete rows from a cell array that do not satisfy a certain condition?
Hi, things get much easier, if you use arrays instead of individual variable names: % combine names and scores into a ta...

9 mesi ago | 2

| accepted

Answered
Graph plotting of dy by dx
Hi Kabit, if you have only the data (I assume a time vector and the corresponding values), the simplest is to use the functio...

9 mesi ago | 0

Answered
S-Function String Parameter C++
Hi Nils, I didn't take a look into the zip file but could it be that you did the same mistake as I, namely, really passing a ...

9 mesi ago | 0

| accepted

Answered
Changing file directories under C:\Program Files
Hi, when you open the desktop shortcut properties you should be able to set the "working folder" to the folder you like. Then...

9 mesi ago | 0

Answered
difference in ode45 and rk4 code
Hi Debashis, I think there is a misunderstanding: ode45 uses the result from the 5th order RK method for the solution, wherea...

9 mesi ago | 1

| accepted

Answered
Is it possible to create a UI around MATLAB functions in C++?
Hi Ivan, there are several possibilities: you can use <https://uk.mathworks.com/products/matlab-compiler-sdk.html MATLAB Comp...

9 mesi ago | 0

| accepted

Answered
Matrix dimensions and unbalanced bracket problem
Hi Jeff, I would rather use indexing instead of multiplication, something like u = zeros(size(t)); % first 2 micros...

9 mesi ago | 0

Answered
S-Function String Parameter C++
Hi Nils, just to be sure: did you check the number of parameters you passed? I guess you are sure that there is at least one ...

9 mesi ago | 0

Answered
Convert data type from int to double in Matlab app designer
Hi Abdulla, generally speaking by using "double": x = int32(42); % x is an integer xd = double(x); % x is a double ...

9 mesi ago | 1

| accepted

Answered
Web app not able to perform xlsread/xlswrite
Hi Giulio, have you tried to first build up the full path to the Excel file? So instead of only the file name provide the ful...

10 mesi ago | 0

Answered
How can I turn a string into a function and obtain the result?
Hi Brent, maybe you can describe a little more what you are trying to achieve? Your "function" has no input, so you could bas...

10 mesi ago | 0

| accepted

Answered
How to run no longer supported P-Code for newer version of Matlab?
Hi, unfortunately no. You will need to ask the author to re-create the p-coded file in a newer version of MATLAB. Titus

10 mesi ago | 0

Answered
Timer stops randomly in the middle of its callback
Hi, what did you write into your timer function, directly some code or the call of a MATLAB (.m) file? If you put your code i...

circa 2 anni ago | 0

Load more