Community Profile

photo

Danijel Domazet


Last seen: 27 Tage vor Aktiv seit 2020

Statistiken

  • Thankful Level 3
  • First Answer
  • Revival Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 3 Jahre vor | 0

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

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

mehr als 3 Jahre vor | 0

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 4 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 4 Jahre vor | 0 Antworten | 0

0

Antworten