How to run no longer supported P-Code for newer version of Matlab?
12 ビュー (過去 30 日間)
古いコメントを表示
I've recently downloaded a toolbox that has a variety of functions which are divided into .m files and .p files.
A demo function was available to introduce the user on the different functions as well as understanding the output. However once I run it, I receive this failure message in the Matlab console.
The P-code file C:\Users\..\xml_toolbox\xml_format.p was generated prior to MATLAB version 7.5 (R2007b) and is no longer
supported. Use pcode to regenerate the file using MATLAB R2007b or later.
And if I open any of the available .m files, they only show these as source code:
%XML_FORMAT Convert a Matlab variable or struct into an XML string.
%
% SYNTAX: xmlstr = xml_format(v, [attswitch], [name] )
%
% INPUT
% v Matlab variable type "struct", "char", "double"(numeric),
% "complex", "sparse", "cell", or "logical"(boolean)
% attswitch optional, default='on':
% 'on' writes header attributes idx,size,type for
% identification by Matlab when parsing in XML later
% 'off' writes "plain" XML without header attributes
% name optional, give root element a specific name, eg. 'project'
%
% OUTPUT
% xmlstr string, containing XML description of variable V
%
% SEE ALSO
% xml_help, xml_formatany, xml_parse, xml_load, xml_save, (xmlread, xmlwrite)
% Copyright (c) 2005 Geodise Project, University of Southampton
% XML Toolbox for Matlab, http://www.geodise.org
% Author: Dr Marc Molinari <m.molinari@soton.ac.uk>
% $Revision: 1.11 $ $Date: 2005/08/26 09:41:37 $
I cannot regenerate the function as P-code by using this. Is there any way to run the available .p file with the current version of Matlab?
0 件のコメント
回答 (1 件)
Titus Edelhofer
2018 年 7 月 30 日
Hi,
unfortunately no. You will need to ask the author to re-create the p-coded file in a newer version of MATLAB.
Titus
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Adding custom doc についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!