回答済み
Cell array and cell structure
Hi cwc, Nothing is Weird. According to MATLAB W is a cell array. and ['Oxygen',15.9994] is the first member of the cell array. A...

12年以上 前 | 1

回答済み
Time based function simulink....
Are your output values discrete? I mean 1 and 0 only? In this case you can use a stateflow with two states 'on' and 'off' and a...

12年以上 前 | 0

回答済み
GUI Edit Text Autocomplete?
As far as i see, you should either do it the way Vishal says. Otherwise, You have to use Dynamic Java methods.

12年以上 前 | 0

回答済み
How can I speed-up the ''write, read and save'' of an excel file from matlab?
use ActiveX to write and read instead of xlswrite and xlsread respectively.

12年以上 前 | 0

| 採用済み

回答済み
Dear All user, please Help me
What you ask is what you get here(WYAIWYG).. Please rephrase question and add more details. Is it about the code or logic or har...

12年以上 前 | 1

| 採用済み

回答済み
how to check status of any signal for predefined time in simulink?
You can use a scope or make assertion blocks with set dynamic ranges.

12年以上 前 | 0

回答済み
problem of applying im2bw function
I do not know abc of im2bw. But based on my knowledge of digital images, if its an 8 bit bw, image then subtract the image matri...

12年以上 前 | 0

回答済み
How to detect data type of Inport/Outport Signals of SIMULINK model via MATLAB code
to filter out Inports and outports you can use find_sys() and to get their data types, for every inport or outport block use ...

12年以上 前 | 0

| 採用済み

質問


Is mlappinstall backward compatible?
1. I found some apps in mlappinstall format at MATLAB File Exchange. I understand that this was introduced recently (2012b or 20...

12年以上 前 | 1 件の回答 | 1

1

回答

回答済み
how to read complicated text file
use textscan with delimiter '|' FileObj=fopen(FileName); CellData=textscan(FileObj, ... '%s %s %s %s %s %s %s %s ...

12年以上 前 | 0

回答済み
Error in exporting values using xlswrite
Do you have MS Excel installed? look at this link please.. http://www.mathworks.in/matlabcentral/answers/21477

12年以上 前 | 0

回答済み
I want to load my workbook into Microsoft Excel activexcontrol (Microsoft Office Spreadsheet 11.0) using GUIDE.
You can do an xlsread and then display the data in t...

12年以上 前 | 0

回答済み
Executable or Matlab App from Simulink+GUI
You would still need mcr (matlab compiler) to share a GUI executable created out with MATLAB GUIde.

12年以上 前 | 0

回答済み
Generate a table in Matlab GUI (matlab 7.0.1)
Insert a uitable in your GUI by name say TableDemo. then read data from xls like you have done, p1 = xlsread('C:\Documents...

12年以上 前 | 0

回答済み
How to create new variables
do you mean to do eval('x=0')?

12年以上 前 | 0

回答済み
How can i pause an engaged PID controller while i am running a simulation? How can i start and reset a subsystem at a given time?
You want to pause the simulation using code? If yes, you can use set_param(bdroot,'SimulationCommand','pause') then ...

12年以上 前 | 0

回答済み
int64 in simulink / stateflow?
Matlab supports int64 whereas Simulink/Stateflow does not. Workaround will be to use two int32 variables. so your expect...

12年以上 前 | 0

回答済み
how to read this file in matlab?
You can read the .tim file using FileObj=fopen(FileName); FileData=textscan(FileObj, ... '%s .....', 'deli...

12年以上 前 | 0

回答済み
Hi, guys, I am trying to create a MATLAB Subrountine, but I faced some problems. My code is not working, and I don't know what is wrong with it.
Did you write your function in command window? Unlike python, MATLAB does not let you write a function in its command window. So...

12年以上 前 | 0

回答済み
In simulink, how to generate a square wave using an external source as frequency?
you can use a normal Pulse generator block in Simulink and use set_param command to set any of the parameters like Amplitude, Pe...

12年以上 前 | 0

| 採用済み

回答済み
if i give maximum value to the check box means some function will be done , otherwise nothing will be do, how to do?
say you have function1(), and function2(). Checkbox1CallBack() global Firstcallbox_Value; Firstcallbox_Value=g...

12年以上 前 | 0

回答済み
Saving a figure in GUI
get the handle of the figure and do a saveas call. eg: saveas(h,'filename','format') format can be any image format or...

12年以上 前 | 0

回答済み
What's the problem in my loop?
Matlab Matrices do not have indices starting at 0. There is nothing like A(0) in MATLAB (But it is so in C or Python though). T...

12年以上 前 | 1

回答済み
Problem in logging data in simulink
to workspace will work definitely. Check the name you give for the workspace variable(double click to Workspace) and run simulat...

12年以上 前 | 0

回答済み
Problem in function handling using callback functions GUI
Hello, there are three ways to handle this. 1. Place your logic of my_function() inside the Button Call back function as David...

12年以上 前 | 1

回答済み
Hello, I'm looking to have a static text or edit text box change it's value depending on what I put in for the other edit text boxes in a GUI
You can do a Get the value from the first Text Box every time it is edited by using edit Call Back function using RecievedS...

12年以上 前 | 0

回答済み
Can I use Matlab to design a GUI without relying on a toolbox?
You don't need any additional tool boxes. Use GUIDE and you can write your own logics for callback functions. Though, I sho...

12年以上 前 | 0

回答済み
How can convert .mdl to .m
You need not convert to m file, then to p code. For your needs, converting the subsystem to Masked sub system will be enough.

12年以上 前 | 0

回答済み
Using 'disp' function with variables
disp() takes only one argument. To accomplish what you need, do disp(['There is an ice rule violation at: (', num2str(xd), ...

12年以上 前 | 8

| 採用済み

回答済み
Save matlab output in textfile
Easier way is to use diary function. diary on Print everything on the command window using disp, and let diary take care o...

12年以上 前 | 1

さらに読み込む