photo

Danijel Domazet


Last seen: 9 mesi fa Attivo dal 2020

Followers: 0   Following: 0

Messaggio

Statistica

  • Thankful Level 3
  • First Answer
  • Revival Level 1

Visualizza badge

Feeds

Visto da

Domanda


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

quasi 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

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

quasi 4 anni fa | 0

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

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

circa 4 anni fa | 0

Domanda


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

circa 4 anni fa | 0 risposte | 1

0

risposte

Domanda


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

circa 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 0 risposte | 0

0

risposte