Community Profile

photo

Danijel Domazet


Last seen: ongeveer 2 maanden ago Active since 2020

Statistics

  • Thankful Level 3
  • First Answer
  • Revival Level 1

View badges

Content Feed

View by

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...

10 maanden 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,...

10 maanden 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...

ongeveer een jaar 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...

meer dan een jaar 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. ...

bijna 2 jaar 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...

bijna 2 jaar 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...

ongeveer 2 jaar 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...

ongeveer 2 jaar ago | 1 answer | 0

1

answer

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

ongeveer 2 jaar 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...

ongeveer 2 jaar ago | 0 answers | 0

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...

ongeveer 2 jaar 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', '...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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(...) ...

meer dan 2 jaar 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...

meer dan 2 jaar 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 ...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar 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...

meer dan 2 jaar ago | 0 answers | 0

0

answers