Beantwortet
How to set the size of warning dialog box?
Hi, Just use the handle of the figure. % get the handle h = warndlg('Die Ergebnisse können ungenau sein!','Singula...

mehr als 9 Jahre vor | 0

Beantwortet
How to determine the line-number in a file that contains specific statements
Hi, I guess you need something like that. Assuming you have a .txt file : MyTextFiles.txt, that contains : ruiez g...

mehr als 9 Jahre vor | 0

Beantwortet
API to generate html report from matlab?
You can use the _publish_ function to generate a html from a .m script See this <http://fr.mathworks.com/help/matlab/matlab_...

mehr als 9 Jahre vor | 1

| akzeptiert

Beantwortet
How to populate listbox with all files in a folder - GUI
Seems you have a problem with the structure _handles_ The code I showed earlier was made using a gui developped with GUIDE. ...

mehr als 9 Jahre vor | 1

Beantwortet
what does 1x8 struct mean?
You can see it as an array of structure. if you define a structure such as s.a = 1; s.b = 2; s is actually a 1x1 ...

mehr als 9 Jahre vor | 0

Beantwortet
How to vectorize for..loop with nested "if" and "break" statements
Hi, it seems you're trying to do something like % initialize indices Rmin = 3; Rmax = 8; Cmin = 2; Cmax = 7; ...

mehr als 9 Jahre vor | 0

| akzeptiert

Beantwortet
How to populate Listbox in GUI with all files from a folder.
Hi Ellis, let say you have one pushbutton and one listbox (tagged pushbutton1 and listbox1 with GUIDE). in the callback of...

mehr als 9 Jahre vor | 1

Beantwortet
please help me to convert (.slx) format to (.mdl)format at this link :http://www.mediafire.com/download/sx3xraapbtrvdx5/FLLFCC.slx
Hi, to convert a slx file to an ancient version of Simulink, you need to proceed using the version used to create a slx file. ...

mehr als 9 Jahre vor | 0

Beantwortet
How to delete rows in matlab
try something like this % create a matrix with all vectors M = [h(g),k(g), l(g),z(g),cnt]; % define the threshold f...

mehr als 10 Jahre vor | 0

Beantwortet
How can I make this faster?
just start by preallocate some memory for _C_ : clear C C2 B n=1000; m=100; A=rand(n,m)+rand(n,m)*1j; tic ...

mehr als 10 Jahre vor | 0

Beantwortet
fast way to to change the data in vector
One way to go faster : just loop on the values superior to 10. A = [2 5 8 10 14 16 5 8 9 12]; indsup10 = find(A(2:en...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
The correct way of importing data from a specific format
I don't know this .acs extension, but if it just contains some text, you can use textscan : fid = fopen('YourFilePath.acs')...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Fastest & most effective way to create this matrix:
clear A; A(4:6,4:6) = reshape(1:9,3,3)'

fast 11 Jahre vor | 3

Beantwortet
How to convert matlab file into a voltage signal in simulink
And here comes the debug problems :). so what you need to do is : <</matlabcentral/answers/uploaded_files/22737/si...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
How to convert matlab file into a voltage signal in simulink
I already answered you in your <http://fr.mathworks.com/matlabcentral/answers/166948-input-code-for-programmable-voltage-supply-...

fast 11 Jahre vor | 1

Beantwortet
Dir command addresses one extra file
Hello, isn't there a hidden file in your folder ? ( '.htk' ) it's still weird because a file without a name and just an e...

fast 11 Jahre vor | 0

Beantwortet
Truble with LOAD in GUI
Hi, one suggestion : [FileName,PathName] = uigetfile('*.mat'); evalin('base',sprintf('load(''%s'')',fullfile(Pa...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Why it dont display all my nodes
the index in your loop has no meaning : for i = 1:a % this create the vector 1 2 ... 8 because 8 is the 1st value of a j...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
how to use fraction and symbols in yticklabel?
you can't use latex in yticklabel (unfortunately). you're gonna have to use _text_ if you really want to insert math symbols. ...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Input Code for programmable voltage supply simulink
Hi, you could also just do it in Simulink: <</matlabcentral/answers/uploaded_files/22690/rc.jpg>>

fast 11 Jahre vor | 0

Beantwortet
How can I toggle data on and off a figure using radio buttons in a matlab GUI?
you could create and stock the plots inside the handles structure and then make them visible or not according to the toggle butt...

fast 11 Jahre vor | 1

| akzeptiert

Beantwortet
"Lookup Table Dynamic" block not updating when table values are changed inside a triggered function
Hi, Actually, the From workspace blocks are evaluated at the init phase of the simulation, not during even if you change the ...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
how to delete red lines from my model
delete_line(find_system(gcs,'findall','on','Type','Line','Connected','off'))

fast 11 Jahre vor | 2

| akzeptiert

Beantwortet
problem with assigning with cell arrays
_Ed_ is a cell, you can't operate any mathematical operation on it, only on the elements inside it. i guess you want to do so...

fast 11 Jahre vor | 0

Beantwortet
How to read part of folder
you can use fullfile Folder = 'C:\users\....\05_dec._2014_08-15-03.331_GMT+00-00'; % put your own folder path File = '...

fast 11 Jahre vor | 0

Beantwortet
how to acces blocks using iteration variable
for i = 1:6 set_param(['system/sub' num2str(i)],'Commented','OFF'); end

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
How can I convert matlab code to C?
You need the toolbox Matlab Coder. in Matlab, type ver if Matlab coder is not part of the result, then you can't gene...

fast 11 Jahre vor | 0

Beantwortet
Simulate a simulink model in matlab
You need to import your data. change the configuration parameters such as : <</matlabcentral/answers/uploaded_files/22360...

fast 11 Jahre vor | 0

Beantwortet
How can I change pushbutton background
I'd say : for i = 1 : 8 for j = 1 : 7 btn(j,i) = uicontrol('Parent', figure_handle, ... ...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Obtaining types of files in directory and put them into an array
you're trying to concatenate strings of different lengths, it can't work. put them in a cell array. files = dir; ...

fast 11 Jahre vor | 0

| akzeptiert

Mehr laden