Матлаб ошибка 146

Thomas Arnold

You can also try typing restoredefaultpath into the terminal, that should remove any conflicting files.


Jason Jury

I don’t see anything below that wasn’t installed by Matlab

>> which -all open

C:Program FilesMATLABR2018atoolboxmatlabgeneralopen.m

C:Program FilesMATLABR2018atoolboxsharedasynciolib+asyncioChannel.m % asyncio.Channel method open is a built-in method % asyncioimpl.Channel method

C:Program FilesMATLABR2018atoolboxmatlabgraph2d@scribehandleopen.m % scribehandle method

C:Program FilesMATLABR2018atoolboxinstrumentinstrument@icdeviceopen.m % icdevice method

C:Program FilesMATLABR2018atoolboxsharedinstrument@instrumentopen.m % instrument method

C:Program FilesMATLABR2018atoolboxmatlabserial@serialopen.m % serial method

C:Program FilesMATLABR2018atoolboxsl3dsl3d@vrworldopen.m % vrworld method

C:Program FilesMATLABR2018atoolboxsimulinksimulinkupgradeadvisor@UpgradeAdvisoropen.p % UpgradeAdvisor method


Jason Jury

Incidentally, I get the same error using built-in «edit» function:

>> edit zipfrnd.m

Error using edit (line 66) PATTERN must be a string scalar or character vector.

>> which -all edit

C:Program FilesMATLABR2018atoolboxmatlabcodetoolsedit.m

C:Program FilesMATLABR2018atoolboxmatlabgraph2d@axischildedit.m % axischild method

C:Program FilesMATLABR2018atoolboxsl3dsl3d@vrworldedit.m % vrworld method


DelfinDelfin

I have the same problem .. Whey I type

I get:

C:Program FilesMATLABR2018atoolboxmatlabgeneralopen.m

C:Program FilesMATLABR2018atoolboxsharedasynciolib+asyncioChannel.m % asyncio.Channel method

open is a built-in method % asyncioimpl.Channel method

C:Program FilesMATLABR2018atoolboxmatlabgraph2d@scribehandleopen.m % scribehandle method

C:Program FilesMATLABR2018atoolboxinstrumentinstrument@icdeviceopen.m % icdevice method

C:Program FilesMATLABR2018atoolboxsharedinstrument@instrumentopen.m % instrument method

C:Program FilesMATLABR2018atoolboxmatlabserial@serialopen.m % serial method

C:Program FilesMATLABR2018atoolboxsl3dsl3d@vrworldopen.m % vrworld method

C:Program FilesMATLABR2018atoolboxsimulinksimulinkupgradeadvisor@UpgradeAdvisoropen.p % UpgradeAdvisor method

Help

Thomas Arnold

You can also try typing restoredefaultpath into the terminal, that should remove any conflicting files.


Jason Jury

I don’t see anything below that wasn’t installed by Matlab

>> which -all open

C:Program FilesMATLABR2018atoolboxmatlabgeneralopen.m

C:Program FilesMATLABR2018atoolboxsharedasynciolib+asyncioChannel.m % asyncio.Channel method open is a built-in method % asyncioimpl.Channel method

C:Program FilesMATLABR2018atoolboxmatlabgraph2d@scribehandleopen.m % scribehandle method

C:Program FilesMATLABR2018atoolboxinstrumentinstrument@icdeviceopen.m % icdevice method

C:Program FilesMATLABR2018atoolboxsharedinstrument@instrumentopen.m % instrument method

C:Program FilesMATLABR2018atoolboxmatlabserial@serialopen.m % serial method

C:Program FilesMATLABR2018atoolboxsl3dsl3d@vrworldopen.m % vrworld method

C:Program FilesMATLABR2018atoolboxsimulinksimulinkupgradeadvisor@UpgradeAdvisoropen.p % UpgradeAdvisor method


Jason Jury

Incidentally, I get the same error using built-in «edit» function:

>> edit zipfrnd.m

Error using edit (line 66) PATTERN must be a string scalar or character vector.

>> which -all edit

C:Program FilesMATLABR2018atoolboxmatlabcodetoolsedit.m

C:Program FilesMATLABR2018atoolboxmatlabgraph2d@axischildedit.m % axischild method

C:Program FilesMATLABR2018atoolboxsl3dsl3d@vrworldedit.m % vrworld method


DelfinDelfin

I have the same problem .. Whey I type

I get:

C:Program FilesMATLABR2018atoolboxmatlabgeneralopen.m

C:Program FilesMATLABR2018atoolboxsharedasynciolib+asyncioChannel.m % asyncio.Channel method

open is a built-in method % asyncioimpl.Channel method

C:Program FilesMATLABR2018atoolboxmatlabgraph2d@scribehandleopen.m % scribehandle method

C:Program FilesMATLABR2018atoolboxinstrumentinstrument@icdeviceopen.m % icdevice method

C:Program FilesMATLABR2018atoolboxsharedinstrument@instrumentopen.m % instrument method

C:Program FilesMATLABR2018atoolboxmatlabserial@serialopen.m % serial method

C:Program FilesMATLABR2018atoolboxsl3dsl3d@vrworldopen.m % vrworld method

C:Program FilesMATLABR2018atoolboxsimulinksimulinkupgradeadvisor@UpgradeAdvisoropen.p % UpgradeAdvisor method

Help

Содержание

  1. Error using open (line 146), no valid Simulink model in SLX format
  2. Direct link to this question
  3. Direct link to this question
  4. Direct link to this comment
  5. Direct link to this comment
  6. Answers (1)
  7. Direct link to this answer
  8. Direct link to this answer
  9. See Also
  10. Categories
  11. Products
  12. Release
  13. Community Treasure Hunt
  14. How to Get Best Site Performance
  15. Americas
  16. Europe
  17. Asia Pacific
  18. Error using open (line 146), no valid Simulink model in SLX format
  19. Direct link to this question
  20. Direct link to this question
  21. Direct link to this comment
  22. Direct link to this comment
  23. Answers (1)
  24. Direct link to this answer
  25. Direct link to this answer
  26. See Also
  27. Categories
  28. Products
  29. Release
  30. Community Treasure Hunt
  31. How to Get Best Site Performance
  32. Americas
  33. Europe
  34. Asia Pacific
  35. Error using open (line 146), no valid Simulink model in SLX format
  36. Direct link to this question
  37. Direct link to this question
  38. Direct link to this comment
  39. Direct link to this comment
  40. Answers (1)
  41. Direct link to this answer
  42. Direct link to this answer
  43. See Also
  44. Categories
  45. Products
  46. Release
  47. Community Treasure Hunt
  48. How to Get Best Site Performance
  49. Americas
  50. Europe
  51. Asia Pacific
  52. Error using open (line 145)
  53. Direct link to this question
  54. Direct link to this question
  55. Direct link to this comment
  56. Direct link to this comment
  57. Answers (0)
  58. See Also
  59. Categories
  60. Products
  61. Community Treasure Hunt
  62. How to Get Best Site Performance
  63. Americas
  64. Europe
  65. Asia Pacific
  66. Error using open line 163
  67. Direct link to this question
  68. Direct link to this question
  69. Answers (1)
  70. Direct link to this answer
  71. Direct link to this answer
  72. See Also
  73. Categories
  74. Products
  75. Community Treasure Hunt
  76. How to Get Best Site Performance
  77. Americas
  78. Europe
  79. Asia Pacific

Error using open (line 146), no valid Simulink model in SLX format

Direct link to this question

Direct link to this question

1 Comment

Answers (1)

Direct link to this answer

Direct link to this answer

0 Comments

See Also

Categories

Products

Release

Find the treasures in MATLAB Central and discover how the community can help you!

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Error using open (line 146), no valid Simulink model in SLX format

Direct link to this question

Direct link to this question

1 Comment

Answers (1)

Direct link to this answer

Direct link to this answer

0 Comments

See Also

Categories

Products

Release

Find the treasures in MATLAB Central and discover how the community can help you!

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Error using open (line 146), no valid Simulink model in SLX format

Direct link to this question

Direct link to this question

1 Comment

Answers (1)

Direct link to this answer

Direct link to this answer

0 Comments

See Also

Categories

Products

Release

Find the treasures in MATLAB Central and discover how the community can help you!

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Direct link to this question

Direct link to this question

1 Comment

Answers (0)

See Also

Categories

Products

Find the treasures in MATLAB Central and discover how the community can help you!

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Error using open line 163

Direct link to this question

Direct link to this question

0 Comments

Answers (1)

Direct link to this answer

Direct link to this answer

0 Comments

See Also

Categories

Products

Find the treasures in MATLAB Central and discover how the community can help you!

An Error Occurred

Unable to complete the action because of changes made to the page. Reload the page to see its updated state.

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文 Chinese
    • English
  • 日本 Japanese (日本語)
  • 한국 Korean (한국어)

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Источник

Mad_solver

Пользователь
Сообщения: 5
Зарегистрирован: Чт апр 21, 2011 4:21 pm

Как быть! не открываются ранее созданные *.mdl файлы

Отформатировал диск С и поставил windows 7 вместо vistы, соответственно, переустановил и матбал. И теперь ни одна ранее созданная модель *.mdl не открывается. что делать?

текст ошибки

error using ==> open at 164

unable to load model file ‘….mdl’ due to the presence of characters that are not supported in the current character encoding setting ‘windows-1251’. either:

1)run »bdclose all; set_param(0, ‘characterencoding’, enc)» where enc is one of windows-1252, iso-8859-1, then load the model, or

2)remove the unsupported characters. the first such character occurs on line 910, byte offset 21.


vvamy

Эксперт
Сообщения: 654
Зарегистрирован: Ср сен 22, 2004 4:49 pm

Re: Как быть! не открываются ранее созданные *.mdl файлы

Сообщение vvamy » Чт апр 21, 2011 4:36 pm

Не используйте кириллицу в названиях файлов (в т.ч. и .mdl) и блоков.

Виталий.



Mad_solver

Пользователь
Сообщения: 5
Зарегистрирован: Чт апр 21, 2011 4:21 pm

Сообщение Mad_solver » Чт апр 21, 2011 7:42 pm

в названиях только латиница.

причина в чем-то другом


Mad_solver

Пользователь
Сообщения: 5
Зарегистрирован: Чт апр 21, 2011 4:21 pm

Сообщение Mad_solver » Чт апр 21, 2011 7:47 pm

chernykh писал(а):FAQ по Simulink смотрите.

буду признателен, если датите ссылку


Сергей aka Грифон

Пользователь
Сообщения: 857
Зарегистрирован: Вс ноя 22, 2009 4:24 pm

Сообщение Сергей aka Грифон » Чт апр 21, 2011 8:15 pm

сталкивался (правда .не в матлабе), что если у Вас имя профиля виндовс кириллицей, оно передаётся в метадату файлов и вызывает истерику у англоязычных прог.


Mad_solver

Пользователь
Сообщения: 5
Зарегистрирован: Чт апр 21, 2011 4:21 pm

Сообщение Mad_solver » Чт апр 21, 2011 9:08 pm

Сергей aka Грифон писал(а):сталкивался (правда .не в матлабе), что если у Вас имя профиля виндовс кириллицей, оно передаётся в метадату файлов и вызывает истерику у англоязычных прог.

увы, имя профиля латиницей

возможно проблема в том, что путь к файлу до переустановки системы содержал русские имена

я слышал, что надо искать какой-то файл и что-то туда прописывать

но какой и что именно?


chernykh

Эксперт
Сообщения: 4526
Зарегистрирован: Ср сен 22, 2004 4:49 pm

Сообщение chernykh » Пт апр 22, 2011 11:37 am

буду признателен, если датите ссылку

Откройте раздел Simulink, и увидите FAQ.


Mad_solver

Пользователь
Сообщения: 5
Зарегистрирован: Чт апр 21, 2011 4:21 pm

Сообщение Mad_solver » Пт апр 22, 2011 12:06 pm

Благодарю всех за помощь!

Проблема решена!

надо было прописать в командной строке:

bdclose all

set_param(0, ‘CharacterEncoding’, ‘windows-1252’)


0 / 0 / 0

Регистрация: 23.01.2013

Сообщений: 34

1

18.05.2014, 21:03. Показов 13818. Ответов 1


Здравствуйте! В Матлабе и Симулинке работаю недавно.
В универе создал модель в Симулинке, дома на ноуте пытаюсь открыть, и выходит ошибка.
Подскажите, как решить проблему.

Миниатюры

Не могу открыть файл модели Simulink (error using open at 162)
 

Вложения

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь

0

Sledge5

536 / 523 / 38

Регистрация: 13.03.2011

Сообщений: 727

19.05.2014, 02:14

2

Лучший ответ Сообщение было отмечено R2D2 как решение

Решение

Перед открытием в командном окне введите:

Matlab M
1
2
slCharacterEncoding('windows-1251');
feature('MultibyteCharSetChecking',0);

2

IT_Exp

Эксперт

87844 / 49110 / 22898

Регистрация: 17.06.2006

Сообщений: 92,604

19.05.2014, 02:14

Помогаю со студенческими работами здесь

Unable to open file(Не удается открыть файл)tdc.obj
У меня не открывается программа на ассемблере. Открываю через Far выдает ошибку Unable to open …

Не удается открыть файл OFFICE Open XML из за ошибок его содержимого
СРОЧНО НУЖНА ПОМОЩЬ НЕ ОТКРЫВАЕТСЯ ФАЙЛ в WORD выдает такую ошибку
"Не удается открыть файл OFFICE…

Не удается открыть файл OFFICE Open XML из за ошибок его содержимого
Пожалуйста, помогите!((((( Три часа пытаюсь из себя выдумать программиста((( файл, видимо,…

Не удается открыть файл OFFICE Open XML из за ошибок его содержимого
Добрый день! ПОМОГИТЕ,пожалуйста,ломаю голову уже 2 часа,ничего не могу придумать,может кто…

Не удается открыть файл Office Open XML из-за ошибок его содержимого.
Дело, значит, непростое! Носил на флешке о4ень важный вордовский документ. И то ли флешка хрюкнула,…

Не удается открыть файл OFFICE Open XML *.docx из за ошибок его содержимого
Добрый день! помогите пожалуста. Файл не открывается.

Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:

2

Hi,

This type of error can be resolved in many ways but it will depend upon what values of x and y you have available as per your code.

Try using the following commands:

size(x)

size(y)

in order to get the size of the x and y.

As per me, these might be cases for your issue:

A) There can be a situation one image has , say for example a*b size while other image’s size is b*a , so in this particular case transpose function would help.

B) If you have some random sizes available try purposely adding or repeating certain coordinates so that you get the matched size.

So, in short, size command will help you give insight as to what next steps you need to follow.

I hope this helps you!

Unable to open matlab fig file

I am unable to open a matlab ‘.fig’ type file. I am getting the following error «Error using open (line 146). Unable to read MAT-file Fig5.fig is not a binary MAT-file. Try LOAD -ASCII to read as text.» I opened the fig file in notepad and saw that it was created using MATLAB 2013 b (first I tried opening with 2020a). Then I downloaded 2013b and tried opening on it. However, then also I got same error with a minor change (now line number shown was 163 with the same message as earlier). I tried to do loading with ascii but got the error that number of columns in line x should be same as in previous lines error.

I am experiencing an issue when automating MATLAB and when using the C MATLAB Engine. For simplicity, I will demonstrate the issue using COM:

After successfully instantiating MATLAB in my Visual Basic code, I am unable to execute/invoke any commands via the COM object, or via the MATLAB command line. For example, I receive the following error when I type the command VER at the MATLAB command prompt:

??? Error: <a href=«error:c:program filesmatlab704toolboxcompilermcrmatlabgeneralver.m,1,25»>File: ver.m Line: 1 Column: 25</a>

The input character is not valid in MATLAB statements or expressions.

When I type the following command at the MATLAB command prompt:

a = 6; imshow(a)

I receive the following error message:

??? Error: <a href=«error:c:program filesmatlab704toolboxcompilermcrmatlabgraph3dgray.m,1,25»>File: gray.m Line: 1 Column: 25</a>

The input character is not valid in MATLAB statements or expressions.

Error in ==> <a href=»error:c:program filesmatlab704toolboximagesimuitoolsprivateimageDisplayParseInputs.m,210,1«>imuitoolsprivateimageDisplayParseInputs at 210</a>

map = gray(256);

Error in ==> <a href=»error:c:program filesmatlab704toolboximagesimuitoolsimshow.m,146,1«>imshow at 146</a>

[cdata, cdatamapping, clim, map, xdata, ydata,

I can execute MATLAB commands from a session started manually ie by double clicking on the shortcut from the start menu. I have MATLAB versions 6.5 (R13), 6.5.1(R13SP1), and 7.0.4 (R14SP2) installed on my machine.

Понравилась статья? Поделить с друзьями:
  • Матиз ошибка 122
  • Маткад ошибка это значение должно быть скаляром
  • Матиз ошибка 0325
  • Маткад ошибка при направлении команды приложению
  • Матиз код ошибки 0500