Community Profile

photo

kei hin


Last seen: Today 自 2013 起处于活动状态

Answers that are not accepted within a week will be deleted.

Programming Languages:
MATLAB
Spoken Languages:
Chinese
Pronouns:
He/him

统计数据

  • 3 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 3
  • First Answer

查看徽章

Content Feed

排序方式:

已回答
How to set the colors of all blocks in simulink to black (only one color)?如何将simulink中所有的Block的颜色全部设置为黑色(只有一种颜色)
查找模型、模块、信号线、端口和注释 - MATLAB find_system - MathWorks 中国 在 Simulink 模型中查找模块 - MATLAB Simulink.findBlocks - MathWorks 中国

1 day 前 | 0

已回答
Trigger sub-system 里面的S函数 只有在trigger事件发生时执行吗?
是的。 Triggered Subsystem 模块是一个预先配置的 Subsystem 模块,您可基于它创建一个每当控制信号具有触发值就会执行的子系统。 由外部输入触发执行的子系统 - Simulink - MathWorks 中国

1 day 前 | 0

提问


Rotate screen orientation by m-file.
How to rotate the orientation of the second screen from landscape to portrait on a dual-monitor system

15 days 前 | 1 个回答 | 0

1

个回答

已回答
how to get name of all element within an bus
Try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data you want, then rea...

20 days 前 | 0

| 已接受

已回答
How does an M file identify whether a simulink file is a library file? M文件是如何识别simulink文件是否为库文件?
在不加载文件的情况下提取 SLX、SLXP 或 MDL 文件信息 - MATLAB - MathWorks 中国 info = Simulink.MDLInfo('file.slx') lib_flg = info.IsLibrary

1 month 前 | 0

| 已接受

已回答
search program command in command window use Tab Button
Try to click [fx].

2 months 前 | 0

| 已接受

已回答
Could someone please tell me which components are missing for this circuit to automatically and appropriately select inputs when dealing with multiple inputs?
You want this? Select output signal based on control signal - Simulink (mathworks.com)

2 months 前 | 0

| 已接受

已回答
Ordering the name of excel files from short to longer length
Check the length inside the for loop and store the sorted result in variables, then use the writetable outside the for loop.

3 months 前 | 0

| 已接受

已回答
How to supress the output of the taskkill command?
Try [status,result] = system();

3 months 前 | 0

| 已接受

已回答
how to rename the calibration parameter in a simulink model
use find_system() to get all constant block's handle, then use get_param(blockhandle,'value') to get the value in constant, and ...

3 months 前 | 0

| 已接受

已回答
Use user input in a function
k=3 f1=func(k) function f1=func(x); n=input('n') f1=n*x; end or n=input('n') k=3 f1=func(n,k) function f1=func(n,x); ...

3 months 前 | 0

| 已接受

已回答
Import desktop layouts into a newer release of Matlab
I think you can back up a layout on the new version of MATLAB, then check your prefdir to see which file has been added, and the...

3 months 前 | 1

| 已接受

已回答
Use getparam to get value from bus signal
I guess you can try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data yo...

3 months 前 | 0

| 已接受

已回答
Get simulink's print dialog using MATLAB script
打印模型图 - MATLAB & Simulink - MathWorks 中国 从 MATLAB 命令行窗口以编程方式打印模型 - MATLAB & Simulink - MathWorks 中国

3 months 前 | 0

| 已接受

已回答
MATLAB failing to read/edit Excel file on first-time code run
try full path, like hWorkbook = hExcel.Workbooks.Open([pwd,'\',outputfile])

4 months 前 | 2

| 已接受

已回答
How to create variables from variable names stored in a array?
attributes={'time', 'step', 'cuurent', 'voltage', 'chgAh', 'disAh'}; prompt = 'input what you want: '; input_str = input(pro...

6 months 前 | 0

| 已接受

已回答
textscan does not scan the text as accurate as strread, i have "errors"
textscan(strrep(a,' ',''),'%s%f%f%f%f%f%s','Delimiter',' '); or textscan(strrep(a,' ',' '),'%s%f%f%f%f%f%s','Delimiter',' ...

6 months 前 | 0

| 已接受

提问


How to set characters font in excel by m-file?
Hi all In VBA, for one cell, I can use 'ActiveCell.Characters(Start:=2, Length:=2).Font.Color = -16776961' to set 2nd and 3rd C...

1 year 前 | 1 个回答 | 0

1

个回答

已回答
Import data from CSV file by Import Tool or textscan
In the script which Import Tool created, change delimiter = ','; to delimiter = {',','\r'}; It seems to have been solved.

2 years 前 | 0

| 已接受

提问


Import data from CSV file by Import Tool or textscan
I can import data from csv file by Import Tool(out type:string), and the tool could creat a script(textscan in it) to instead Im...

2 years 前 | 2 个回答 | 0

2

个回答

已回答
focus a block in model by m file
set(block_handle,'selected', 'on'); or set(get_param(block_path,'handle'), 'selected', 'on');

2 years 前 | 0

| 已接受

提问


focus a block in model by m file
when I select a block in model, there is a blue outer frame on the block, but when I use 'hilite_system' in m file to focus a bl...

2 years 前 | 1 个回答 | 0

1

个回答

提问


Extract string with regexp()
I have a variable that stores a string. The string contains letters, numbers, underscores and symbols (there is no specific orde...

2 years 前 | 1 个回答 | 0

1

个回答

提问


Generate PolySpace report with code
When I generate a report with PolySpace 2019a, I got a report without code content but line and column number of code, it is har...

3 years 前 | 1 个回答 | 0

1

个回答

提问


How to limit editfield length and auto shift cursor in App Designer
I have two editfields in App Designer, now I want to limit the editield length to 2, I mean when I input 2 characters in editfie...

4 years 前 | 1 个回答 | 0

1

个回答

提问


get property of selected line and hide name of a line
I have a simulink model, and there are some lines in it, one of lines have name 'AA', and this line name is hide, when I cut the...

5 years 前 | 1 个回答 | 0

1

个回答

提问


m file to instead save button in set path dialog
Go the Home tab and, in the Environment section, click Set Path. Then we will open the Set Path dialog box, there is a 'Save' bu...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How to display Chinese character in gui table / command window
Hello, I want to display Chinese character in gui table or command window, how to do that? Such as I want "单位" displayed in co...

6 years 前 | 1 个回答 | 0

1

个回答

已回答
New to Matlab, need help
Operators can't be omitted. If 'a=2', you want '4',then you need '2*a', not '2a'. And you'd better type your code in Matlab, you...

10 years 前 | 0

| 已接受

已回答
What is this block?
Sign->Indicate sign of input. * The output is 1 when the input is greater than zero. * The output is 0 when the input is eq...

10 years 前 | 0

| 已接受

加载更多