Matlab error using open at 163

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 1 Comment Direct link to this comment Direct link to this comment See Also Categories Community Treasure Hunt Find the treasures in MATLAB Central and […]

Содержание

  1. Error using open (line 163)
  2. Direct link to this question
  3. Direct link to this question
  4. Answers (1)
  5. Direct link to this answer
  6. Direct link to this answer
  7. Direct link to this comment
  8. Direct link to this comment
  9. See Also
  10. Categories
  11. Community Treasure Hunt
  12. How to Get Best Site Performance
  13. Americas
  14. Europe
  15. Asia Pacific
  16. Error using open line 163
  17. Direct link to this question
  18. Direct link to this question
  19. Answers (1)
  20. Direct link to this answer
  21. Direct link to this answer
  22. See Also
  23. Categories
  24. Products
  25. Community Treasure Hunt
  26. How to Get Best Site Performance
  27. Americas
  28. Europe
  29. Asia Pacific
  30. Error using open line 163
  31. Direct link to this question
  32. Direct link to this question
  33. Answers (1)
  34. Direct link to this answer
  35. Direct link to this answer
  36. See Also
  37. Categories
  38. Products
  39. Community Treasure Hunt
  40. How to Get Best Site Performance
  41. Americas
  42. Europe
  43. Asia Pacific
  44. Error using open line 163
  45. Direct link to this question
  46. Direct link to this question
  47. Direct link to this comment
  48. Direct link to this comment
  49. Answers (0)
  50. See Also
  51. Categories
  52. Community Treasure Hunt
  53. How to Get Best Site Performance
  54. Americas
  55. Europe
  56. Asia Pacific
  57. Error using open line 163 . open a zip file for read/modify failed
  58. Direct link to this question
  59. Direct link to this question
  60. Answers (1)
  61. Direct link to this answer
  62. Direct link to this answer
  63. Direct link to this comment
  64. Direct link to this comment
  65. See Also
  66. Categories
  67. Community Treasure Hunt
  68. How to Get Best Site Performance
  69. Americas
  70. Europe
  71. Asia Pacific

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

1 Comment

Direct link to this comment

Direct link to this comment

See Also

Categories

Community Treasure Hunt

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

Читайте также:  Xerox phaser 6510 прошивка

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

Community Treasure Hunt

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.

Читайте также:  Ode internal error 1

Источник

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

Community Treasure Hunt

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

1 Comment

Direct link to this comment

Direct link to this comment

Answers (0)

See Also

Categories

Community Treasure Hunt

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.

Читайте также:  Error opening terminal sipp

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 . open a zip file for read/modify failed

Direct link to this question

Direct link to this question

0 Comments

Answers (1)

Direct link to this answer

Direct link to this answer

1 Comment

Direct link to this comment

Direct link to this comment

See Also

Categories

Community Treasure Hunt

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.

Источник

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

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’)


A short while ago, a StackOverflow user asked how to extract data from FIG files in Matlab. The answer to this question is easy, but I wish to use the opportunity to show how this can be useful in Matlab applications.

The need: load a FIG without displaying it

In data-processing applications, we often present data in graphs that can then be manipulated and saved for later use. In Matlab, saving is done interactively (via the figure’s File/Save menu option or via the figure’s Save toolbar button), or programmatically (via the hgsave function). In all cases, the data is stored in a *.FIG file (the FIG extension can actually be changed, but I really don’t see why).
The point is that in order to re-load the stored data, we need to use hgload, which has a nasty side-effect of actually displaying the stored figure.
This is bad in terms of performance and memory, especially for heavily-laden GUI figures, not to mention the fact that sometimes we do not want to display the GUI at all. We often just need to extract a sub-set of the stored information (for example, the plot values), without having to display the figure.

The answer: FIGs are simply MATs in disguise

Here’s where the undocumented stuff enters:
It seems that a FIG file is simply a hierarchical structure of all the non-default properties of the stored figure and its descendant handles, all this stored within a simple MAT file.
This is hinted in several places, for example in hgsave‘s doc page, and in the MAT-file preferences panel:

MAT-file preferences (note the FIG clarification)

MAT-file preferences (note the FIG clarification)

Knowing this, we can easily load the data, without displaying the figure, by using load(filename,’-mat’) rather than hgload. For example:

% Create and store a simple plot figure
>> figure('Name','Test #1');
>> plot(1:9, sqrt(1:9));
>> hgsave(gcf,'testFig');
% Load the figure data
>> d = load('testFig.fig','-mat')
d =
    hgS_070000: [1x1 struct]   % a Matlab 7 figure
% Investigate the figure data
>> d.hgS_070000
ans =
          type: 'figure'
        handle: 1
    properties: [1x1 struct]
      children: [1x1 struct]
       special: []
>> d.hgS_070000.children
ans =
          type: 'axes'
        handle: 176.08251953125
    properties: [1x1 struct]
      children: [1x1 struct]
       special: [4x1 double]
>> d.hgS_070000.children.children
ans =
          type: 'graph2d.lineseries'
        handle: 177.0830078125
    properties: [1x1 struct]
      children: []
       special: []
>> d.hgS_070000.children.children.properties
ans =
              Color: [0 0 1]
              XData: [1 2 3 4 5 6 7 8 9]
              YData: [1 1.4142 1.7321 2 2.2361 2.4495 2.6458 2.8284 3]
    ApplicationData: [1x1 struct]
        XDataJitter: 0
          XDataMode: 'manual'
      ObeyXDataMode: 'auto'
                ...
% Extract plot data
>> YData = d.hgS_070000.children.children.properties.YData
YData =
  1.0000  1.4142  1.7321  2.0000  2.2361  2.4495  2.6458  2.8284  3.0000

We see a couple of interesting things in this simple example:
First, note that the top-level structure node is called “hgS_070000” – we’ll dig into this next week. Basically, it indicates that the structure holds a Matlab 7 figure.
Secondly, we see hidden/undocumented properties of the stored objects (for example, the lineseries’ XDataJitter and ObeyXDataMode properties). ApplicationData is such a hidden handle, which is widely used as a substitute for any handle’s UserData property (the built-in setappdata and getappdata functions are simply wrappers for accessing this property using standard set and get functions).
Have you used the FIG/MAT feature for any useful functionality? If so, please do share your experience in a comment.
Next week, I will explain how looking under hgsave‘s hood leads to useful functions and to an interesting insight about Matlab’s future. Merry Christmas everybody!

Понравилась статья? Поделить с друзьями:
  • Matlab error bar plot
  • Master gas seoul ошибка а7
  • Matlab catch error
  • Master connection error перевод
  • Matkompas dll error 193