photo

Titus Edelhofer

MathWorks

Last seen: 3 jours il y a Actif depuis 2011

Followers: 0   Following: 0

Message

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

Statistiques

All
  • First Review
  • 24 Month Streak
  • Thankful Level 3
  • Guiding Light
  • Revival Level 2
  • Knowledgeable Level 5
  • First Answer
  • Speed Demon
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
Simulink error : Failed to evaluate mask initialization commands
Dear Minkwang, I understand you are sure that you have the vehicle dynamics blockset, nevertheless I would suggest to check if ...

presque 3 ans il y a | 0

Réponse apportée
i would like know matlab command for import base work space data to .sldd
Hi Praveen, take a look here: https://www.mathworks.com/help/simulink/ug/store-data-in-dictionary-programmatically.html. It des...

presque 3 ans il y a | 0

| A accepté

A résolu


Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

plus de 3 ans il y a

A résolu


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

plus de 3 ans il y a

A résolu


Find a subset that divides the vector into equal halves
Given a vector x, return the indices to elements that will sum to exactly half of the sum of all elements. Example: Inpu...

plus de 3 ans il y a

Réponse apportée
What is the input of the function trim('sys')?
sys is the name of a Simulink model The doc says "Consider a linear state-space system modeled using a State-Space block". So ...

presque 4 ans il y a | 2

| A accepté

Réponse apportée
Load a file from a different folder
Hi Jasper, I don't know where uipickfile comes from. If you use uigetfile, you would have a second output argument you can us...

presque 4 ans il y a | 0

A résolu


Convert a structure into a string
Convert the contents of each fields into a string. Example with an input structure s with 2 fields : s.age = '33' s....

plus de 5 ans il y a

A résolu


Piecewise linear interpolation
Given an Mx2 vector and a row of M-1 integers, output a two column vector that linearly interpolates Y times between each succes...

plus de 5 ans il y a

Réponse apportée
How can I round double-values down in a Matlab function block in Simulink?
Hi, strange: floor should indeed be your friend. The only thing I can imagine is that leftover_seconds is not a double but an...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How can i modify a model automatically which uses an excel file as an input when this excel file is modified (checksum is modified) ?
Hi Lamjed, does the entire Simulink model needs to be changed or only a block? If it's only a block you could mask the block an...

plus de 5 ans il y a | 0

Réponse apportée
unresolved external symbol error, while building in Visual Studio code made by coder.
Hi Sara, just to be sure: did you specify the dll as external reference, as described in the doc in "Specify External Depende...

plus de 5 ans il y a | 0

Réponse apportée
How to check a function input to be ptcloud object?
Hi Philipp, probably you are looking for the function "isa": function myfun(x) if ~isa(x, 'ptCloud') error('Input argume...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
'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...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 5 ans il y a | 0

Réponse apportée
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)", ...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
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

environ 6 ans il y a | 1

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 3

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 2

| A accepté

Réponse apportée
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 ...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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: ...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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....

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Charger plus