photo

Danijel Domazet


Last seen: 10 months ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3
  • First Answer
  • Revival Level 1

View badges

Feeds

View by

Question


Matlab crashing on Ubuntu 22.04 - help?
Matlab is constantly crashing for me. Can you help maybe, based on the below crash report - what could be the problem? My OS...

2 years ago | 1 answer | 0

1

answer

Question


MATLAB and LAPACK implementation of the SVD algorithm - not the same output?
I am using the LAPACK C library's singular value decomposition function LAPACKE_cgesvd() and trying to get the same result as...

3 years ago | 1 answer | 0

1

answer

Question


Which SVD algorithm implementation is used in MATLAB?
Hi, I am comparing singular value decomposition function [U,S,V] = svd(A) to some C implementations of the algorithm. However,...

3 years ago | 1 answer | 0

1

answer

Question


What is the real value of "single(my_variable)"?
My script reads a string value "0.001044397222448" from a file, and after parisng the file this value ends up as double precissi...

3 years ago | 2 answers | 0

2

answers

Question


Write 32-bit float Simulink variable to file?
I am running a Simulink sinulation. I'd like to capture a 32-bit float variable to file. It would be a simple binary raw file...

3 years ago | 1 answer | 0

1

answer

Answered
How do I tell MATLAB to use MinGW C++ compiler instead of MSVC?
Solution is here: https://www.mathworks.com/help/matlab/matlab_external/choose-c-or-c-compilers.html and works very easily. ...

4 years ago | 0

Question


How do I tell MATLAB to use MinGW C++ compiler instead of MSVC?
I just installed the MinGW C++ compiler add-on. When I run some Simulink simulation from the CygWin command line, MATLAB tries...

4 years ago | 1 answer | 0

1

answer

Question


MATLAB license for Jenkins automation server?
When using MATLAB only on an automation server for test builds and verifications, is the same full MATLAB license required? Or t...

4 years ago | 1 answer | 0

1

answer

Question


Computing balanced representation for state-space model?
I have the following state-space model parameters: A = [0.989923894 -116924.375; 4.34027786e-10 1]; B = [1;0]; C = [0.0100760...

4 years ago | 1 answer | 0

1

answer

Answered
S-Function BlockType
Try: s_blocks = find_system(model, 'SearchDepth', 1, 'BlockType','S-Function');

4 years ago | 0

Question


How to get port names for built-in blocks?
This is how I find port names in my Simulink model: function [portNames] = findOutputPortNames(obj) % Lists output port n...

4 years ago | 0 answers | 1

0

answers

Question


Speeding up the simulation?
I have a Simulink model which takes audio file at input, and produces another audio file at output. I am also running the mode...

4 years ago | 1 answer | 0

1

answer

Question


How to get output port name for builtin Delay block?
simBlockH = get_param(target_module, 'Handle'); handles = find_system(simBlockH, 'LookUnderMasks', 'on', 'FollowLinks', 'on', '...

4 years ago | 0 answers | 0

0

answers

Question


How to connect input to input programmatically (add_line)?
I use 'add_line()' to connect output to input, output from first block to the input of next block, in this case To File block (d...

4 years ago | 0 answers | 0

0

answers

Question


How to programmatically add a block from Audio Toolbox to Simulink?
I have added a Simulink "In File" block programmatically: add_block('simulink/Sinks/To File',...) How do I add a block from A...

4 years ago | 1 answer | 0

1

answer

Question


How to suppress warnings when running Simulink simulation programmatically?
I am running a Simulink simulation from my_sim.m MATLAB file: ... sim('rocket_sim'); fprintf('Finished. \n'); ... I am g...

4 years ago | 1 answer | 0

1

answer

Question


Changing model programmatically: discard changes and exit?
Hi, I programmatically change a model in Simulink, run the simulation, and exit. open_system(...) add_block(...) sim(...) ...

4 years ago | 1 answer | 0

1

answer

Question


How to set StopTime programmatically?
My model stop time is set to 5 seconds. I want to change that programmatically. open_system(test_model, 'loadonly'); set_param...

4 years ago | 1 answer | 0

1

answer

Question


"delete" does not find a file?
Why wouldn't this work: if isfile(filename) delete filename end filename is a char vector. File is not deleted, and I ...

4 years ago | 1 answer | 0

1

answer

Question


Calling m file from class?
I have a class A, and a file myinit.m. myinit.m contains many variable initializations which are needed by the class A. This...

4 years ago | 0 answers | 0

0

answers

Question


How to programmatically set To File block parameters?
Hi, I am trying to programmatically add To File block to existing Simulink model. open_system('myModel, 'loadonly'); add_blo...

4 years ago | 1 answer | 0

1

answer

Question


How to go from Simulink to embedded fixed-point DSP processor?
A library of audio algorithms is modeled, tested and verified in Simulink. It needs to go from this existing Simulink models dow...

4 years ago | 0 answers | 0

0

answers